{
    menuDef
    {
        name                        "menu_playercard_title_popup"
        fullscreen                  1
        rect                        0 0 640 480 0 0
        style                       1
        focuscolor                  1 1 1 1
        exp soundLoop               localvarstring("sharedBackgroundMusic");
        onOpen
        {
            setLocalVarInt ui_pageIndex 0;
            setLocalVarInt ui_numPages 0;
            setLocalVarBool ui_shelfTimeInvert 0;
            setLocalVarFloat ui_arrow_flash_left_time 0;
            setLocalVarFloat ui_arrow_flash_right_time 0;
            setLocalVarString ui_challenges_table "mp/allChallengesTable.csv";
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (1 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (1);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (2 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (2);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (3 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (3);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (4 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (4);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (5 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (5);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (6 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (6);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (7 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (7);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (8 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (8);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (9 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (9);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (10 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (10);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (11 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (11);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (12 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (12);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (13 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (13);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (14 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (14);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (15 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (15);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (16 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (16);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (17 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (17);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (18 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (18);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (19 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (19);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (20 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (20);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (21 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (21);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (22 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (22);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (23 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (23);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (24 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (24);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (25 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (25);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (26 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (26);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (27 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (27);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (28 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (28);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (29 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (29);
            }
            if ((tablelookupbyrow("mp/cardTitleTable.csv", (30 * 21), 0) != ""))
            {
                setLocalVarInt ui_numPages (30);
            }
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_united_states");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_uk");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_canada");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_australia");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_spain");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_austria");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_japan");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_brazil");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_swiss");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_russia");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_mexico");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_france");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_germany");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_italy");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_norway");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_greece");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_sweden");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_ireland");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_belgium");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_finland");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_luxemburg");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_czech");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_netherlands");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_newzealand");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_philippines");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_poland");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_portugal");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_denmark");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_saudiarabia");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_singapore");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_southafrica");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_southkorea");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_hongkong");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_india");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_taiwan");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_united_arab_emirates");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_elsalvador");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_china");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_iran");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            setLocalVarInt ui_tempIndex tablegetrownum("mp/cardTitleTable.csv", 0, "cardtitle_flag_turkey");
            setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
            focusFirst;
        }
        onClose
        {
            setLocalVarInt ui_pageIndex 0;
            setLocalVarBool browsingCardTitle 0;
            setLocalVarBool ui_shelfEnabled 0;
            setLocalVarInt ui_shelfCounter 0;
            if (dvarbool(elite_clan_using_title))
            {
                exec use_eliteclan_title;
            }
            execnow updateGamerProfile;
            execnow uploadstats;
        }
        onESC
        {
            close self;
        }
        execKeyInt 164
        {
            if (getStringWithoutIndex(getfocuseditemname()) != "cardTitle" && localvarint("ui_pageIndex"))
            {
                setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                focusFirst;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarFloat ui_arrow_flash_left_time milliseconds();
            }
        }
        execKeyInt 163
        {
            if (getStringWithoutIndex(getfocuseditemname()) != "cardTitle" && localvarint("ui_pageIndex") < localvarint("ui_numPages"))
            {
                setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                focusFirst;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarFloat ui_arrow_flash_right_time milliseconds();
            }
        }
        itemDef
        {
            rect                        -426.667 -240 853.333 480 2 2
            style                       3
            decoration                  
            visible                     when((dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
            textscale                   0.55
            background                  "background_image_blur_less"
        }
        itemDef
        {
            rect                        -426.667 -240 853.333 480 2 2
            style                       3
            decoration                  
            visible                     when(!(dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
            textscale                   0.55
            background                  "background_image"
        }
        itemDef
        {
            rect                        0 0 1708 480 0 0
            style                       3
            decoration                  
            visible                     1
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay"
            exp rect x                  (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
        }
        itemDef
        {
            rect                        0 0 -1708 -480 0 0
            style                       3
            decoration                  
            visible                     1
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay"
            exp rect x                  (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
        }
        itemDef
        {
            text                        "@MENU_TITLE_CAPS"
            rect                        0 0 0 28 2 1
            decoration                  
            visible                     1
            textalign                   5
            textscale                   0.5833
            textfont                    9
        }
        itemDef
        {
            rect                        -254 76 508 250 2 1
            style                       3
            decoration                  
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0.2118 0.2314 0.22 1
            background                  "white"
        }
        itemDef
        {
            rect                        -254 76 508 25 2 1
            style                       3
            decoration                  
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0.1569 0.1725 0.1608 1
            background                  "navbar_selection_bar_shadow"
        }
        itemDef
        {
            rect                        -254 28 508 48 2 1
            style                       3
            decoration                  
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0.1569 0.1725 0.1608 1
            background                  "white"
        }
        itemDef
        {
            rect                        -254 299 508 -25 2 1
            style                       3
            decoration                  
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0.1569 0.1725 0.1608 1
            background                  "navbar_selection_bar_shadow"
        }
        itemDef
        {
            rect                        -254 324 508 48 2 1
            style                       3
            decoration                  
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0.3098 0.349 0.2745 1
            background                  "white"
        }
        itemDef
        {
            rect                        0 0 240 40 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "white"
            exp rect x                  (0 - (240 / 2));
            exp rect y                  (32);
        }
        itemDef
        {
            rect                        0 0 237.333 37.333 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0));
            textscale                   0.55
            background                  "playercard_scanlines_512"
            exp rect x                  (0 - (240 / 2)) + 1.333;
            exp rect y                  (32) + 1.333;
        }
        itemDef
        {
            rect                        0 0 35.3 35.3 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardIcon"));
            textscale                   0.55
            exp material                tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 1, 0), 1);
            exp rect x                  (0 - (240 / 2)) + 2.533;
            exp rect y                  (32) + 2.567;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardTitle"));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 2);
            exp rect x                  (0 - (240 / 2)) + 33.9;
            exp rect y                  (32) + (0 - 4.1);
            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);
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 28.8 28.8 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 1, 0) > 0));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                "clanlvl_box";
            exp rect x                  (0 - (240 / 2)) + 33.9 + ((156.667) - (28 * 0.9));
            exp rect y                  (32) + (0 - 4.1) - (11 * 0.9);
        }
        itemDef
        {
            rect                        0 0 14.4 14.4 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 1, 0) > 0));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                getplayercardinfo(22, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 33.9 + ((156.667) - (25.5 * 0.9));
            exp rect y                  ((32) + (0 - 4.1)) - (3 * 0.9);
        }
        itemDef
        {
            rect                        0 0 14.4 14.4 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 1, 0) > 0));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                getplayercardinfo(21, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 33.9 + ((156.667) - (13.5 * 0.9));
            exp rect y                  ((32) + (0 - 4.1)) - (3 * 0.9);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && !localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    getplayercardinfo(14, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 33.9;
            exp rect y                  (32) + (0 - 4.1);
            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);
            exp backcolor a             0;
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when((1) && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.375
            textstyle                   8
            textfont                    9
            exp text                    getplayercardinfo(11, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 21.5;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) <= 142), 1, 0);
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when((1) && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.3
            textstyle                   8
            textfont                    9
            exp text                    getplayercardinfo(11, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 21.5;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) <= 180), 1, 0);
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when((1) && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.225
            textstyle                   8
            textfont                    9
            exp text                    truncateTextWithEllipsis(getplayercardinfo(11, 1, 0), 9, (0.375 * 0.6), 140);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 22;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) > 180), 1, 0);
        }
        itemDef
        {
            rect                        0 0 51.333 18.033 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && getplayercardinfo(12, 1, 0) != "");
            textalign                   8
            textscale                   0.375
            textstyle                   7
            textfont                    3
            forecolor                   0.941 0.773 0.361 1
            exp text                    "[" + getplayercardinfo(12, 1, 0) + "]";
            exp rect x                  (0 - (240 / 2)) + 188;
            exp rect y                  (32) + 2.5;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 18.667 18.667 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0) && dvarstring(gameMode) == "mp");
            textscale                   0.55
            exp material                tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), (getplayercardinfo(5, 1, 0) + 1));
            exp rect x                  (0 - (240 / 2)) + 192;
            exp rect y                  (32) + 18.9;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 22 18.033 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0) && dvarstring(gameMode) == "mp");
            textalign                   8
            textscale                   0.375
            textstyle                   7
            textfont                    3
            exp text                    tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 1, 0), 14);
            exp rect x                  (0 - (240 / 2)) + 212;
            exp rect y                  (32) + 19.167;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 18.667 18.667 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(6, 1, 0) >= 0) && dvarstring(gameMode) == "so");
            textscale                   0.55
            exp material                tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 1, 0), 6);
            exp rect x                  (0 - (240 / 2)) + 192;
            exp rect y                  (32) + 18.9;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 22 18.033 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(6, 1, 0) >= 0) && dvarstring(gameMode) == "so");
            textalign                   8
            textscale                   0.375
            textstyle                   7
            textfont                    3
            exp text                    tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 1, 0), 14);
            exp rect x                  (0 - (240 / 2)) + 212;
            exp rect y                  (32) + 19.167;
            exp forecolor a             1;
        }
        itemDef
        {
            rect                        0 0 29.333 29.333 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && getplayercardinfo(10, 1, 0));
            textscale                   0.55
            exp material                "xp";
            exp rect x                  (0 - (240 / 2)) + 228.667;
            exp rect y                  (32) - 14.267;
        }
        itemDef
        {
            rect                        0 0 29.333 29.333 2 1
            style                       3
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0) && getplayercardinfo(15, 1, 0));
            textscale                   0.55
            exp material                "gxp";
            exp rect x                  (0 - (240 / 2)) + 228.667;
            exp rect y                  select(getplayercardinfo(10, 1, 0), (32) - 1.1, (32) - 14.267);
        }
        itemDef
        {
            name                        "cardTitle1_0"
            rect                        -252 80 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 0 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 80 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle1_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 80 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle1_0";
        }
        itemDef
        {
            rect                        -250 82 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle1_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_0"), ((48 + ((32 + 2) * (1))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 82 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle1_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 79 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(0 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 78 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle1_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_0"), ((44 + ((32 + 2) * (1))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(0 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 0 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle1_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle2_0"
            rect                        -252 114 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 1 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 114 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle2_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 114 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle2_0";
        }
        itemDef
        {
            rect                        -250 116 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle2_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_0"), ((48 + ((32 + 2) * (2))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 116 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle2_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 113 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(1 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 112 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle2_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_0"), ((44 + ((32 + 2) * (2))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(1 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 1 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle2_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle3_0"
            rect                        -252 148 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 2 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 148 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle3_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 148 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle3_0";
        }
        itemDef
        {
            rect                        -250 150 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle3_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_0"), ((48 + ((32 + 2) * (3))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 150 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle3_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 147 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(2 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 146 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle3_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_0"), ((44 + ((32 + 2) * (3))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(2 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 2 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle3_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle4_0"
            rect                        -252 182 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 3 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 182 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle4_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 182 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle4_0";
        }
        itemDef
        {
            rect                        -250 184 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle4_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_0"), ((48 + ((32 + 2) * (4))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 184 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle4_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 181 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(3 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 180 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle4_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_0"), ((44 + ((32 + 2) * (4))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(3 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 3 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle4_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle5_0"
            rect                        -252 216 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 4 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 216 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle5_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 216 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle5_0";
        }
        itemDef
        {
            rect                        -250 218 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle5_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_0"), ((48 + ((32 + 2) * (5))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 218 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle5_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 215 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(4 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 214 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle5_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_0"), ((44 + ((32 + 2) * (5))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(4 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 4 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle5_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle6_0"
            rect                        -252 250 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 5 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 250 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle6_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 250 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle6_0";
        }
        itemDef
        {
            rect                        -250 252 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle6_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_0"), ((48 + ((32 + 2) * (6))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 252 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle6_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 249 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(5 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 248 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle6_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_0"), ((44 + ((32 + 2) * (6))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(5 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 5 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle6_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle7_0"
            rect                        -252 284 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 6 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -252 284 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle7_0") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -254 284 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle7_0";
        }
        itemDef
        {
            rect                        -250 286 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle7_0"), ((0 - 250) + (170 * 0) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_0"), ((48 + ((32 + 2) * (7))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_0"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_0"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -250 286 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle7_0") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -260 283 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(6 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -250 282 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle7_0"), ((0 - 250) + (170 * 0) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 0)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_0"), ((44 + ((32 + 2) * (7))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_0"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_0"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(6 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 6 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle7_0");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle1_1"
            rect                        -82 80 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 7 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 80 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle1_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 80 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle1_1";
        }
        itemDef
        {
            rect                        -80 82 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle1_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_1"), ((48 + ((32 + 2) * (1))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 82 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle1_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 79 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(7 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 78 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle1_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_1"), ((44 + ((32 + 2) * (1))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(7 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 7 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle1_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle2_1"
            rect                        -82 114 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 8 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 114 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle2_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 114 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle2_1";
        }
        itemDef
        {
            rect                        -80 116 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle2_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_1"), ((48 + ((32 + 2) * (2))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 116 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle2_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 113 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(8 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 112 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle2_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_1"), ((44 + ((32 + 2) * (2))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(8 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 8 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle2_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle3_1"
            rect                        -82 148 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 9 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 148 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle3_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 148 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle3_1";
        }
        itemDef
        {
            rect                        -80 150 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle3_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_1"), ((48 + ((32 + 2) * (3))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 150 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle3_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 147 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(9 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 146 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle3_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_1"), ((44 + ((32 + 2) * (3))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(9 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 9 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle3_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle4_1"
            rect                        -82 182 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 10 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 182 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle4_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 182 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle4_1";
        }
        itemDef
        {
            rect                        -80 184 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle4_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_1"), ((48 + ((32 + 2) * (4))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 184 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle4_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 181 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(10 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 180 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle4_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_1"), ((44 + ((32 + 2) * (4))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(10 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 10 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle4_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle5_1"
            rect                        -82 216 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 11 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 216 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle5_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 216 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle5_1";
        }
        itemDef
        {
            rect                        -80 218 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle5_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_1"), ((48 + ((32 + 2) * (5))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 218 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle5_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 215 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(11 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 214 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle5_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_1"), ((44 + ((32 + 2) * (5))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(11 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 11 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle5_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle6_1"
            rect                        -82 250 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 12 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 250 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle6_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 250 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle6_1";
        }
        itemDef
        {
            rect                        -80 252 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle6_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_1"), ((48 + ((32 + 2) * (6))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 252 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle6_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 249 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(12 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 248 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle6_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_1"), ((44 + ((32 + 2) * (6))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(12 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 12 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle6_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle7_1"
            rect                        -82 284 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 13 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        -82 284 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle7_1") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        -84 284 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle7_1";
        }
        itemDef
        {
            rect                        -80 286 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle7_1"), ((0 - 250) + (170 * 1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_1"), ((48 + ((32 + 2) * (7))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_1"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_1"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        -80 286 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle7_1") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        -90 283 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(13 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        -80 282 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle7_1"), ((0 - 250) + (170 * 1) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 1)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_1"), ((44 + ((32 + 2) * (7))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_1"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_1"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(13 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 13 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle7_1");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle1_2"
            rect                        88 80 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 14 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 80 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle1_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 80 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle1_2";
        }
        itemDef
        {
            rect                        90 82 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle1_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_2"), ((48 + ((32 + 2) * (1))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 82 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle1_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 79 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(14 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 78 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle1_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle1_2"), ((44 + ((32 + 2) * (1))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (1))));
            exp rect w                  select((getfocuseditemname() == "cardTitle1_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle1_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(14 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 14 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle1_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle2_2"
            rect                        88 114 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 15 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 114 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle2_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 114 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle2_2";
        }
        itemDef
        {
            rect                        90 116 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle2_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_2"), ((48 + ((32 + 2) * (2))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 116 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle2_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 113 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(15 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 112 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle2_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle2_2"), ((44 + ((32 + 2) * (2))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (2))));
            exp rect w                  select((getfocuseditemname() == "cardTitle2_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle2_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(15 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 15 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle2_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle3_2"
            rect                        88 148 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 16 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 148 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle3_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 148 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle3_2";
        }
        itemDef
        {
            rect                        90 150 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle3_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_2"), ((48 + ((32 + 2) * (3))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 150 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle3_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 147 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(16 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 146 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle3_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle3_2"), ((44 + ((32 + 2) * (3))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (3))));
            exp rect w                  select((getfocuseditemname() == "cardTitle3_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle3_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(16 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 16 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle3_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle4_2"
            rect                        88 182 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 17 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 182 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle4_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 182 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle4_2";
        }
        itemDef
        {
            rect                        90 184 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle4_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_2"), ((48 + ((32 + 2) * (4))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 184 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle4_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 181 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(17 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 180 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle4_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle4_2"), ((44 + ((32 + 2) * (4))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (4))));
            exp rect w                  select((getfocuseditemname() == "cardTitle4_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle4_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(17 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 17 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle4_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle5_2"
            rect                        88 216 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 18 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 216 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle5_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 216 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle5_2";
        }
        itemDef
        {
            rect                        90 218 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle5_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_2"), ((48 + ((32 + 2) * (5))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 218 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle5_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 215 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(18 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 214 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle5_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle5_2"), ((44 + ((32 + 2) * (5))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (5))));
            exp rect w                  select((getfocuseditemname() == "cardTitle5_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle5_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(18 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 18 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle5_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle6_2"
            rect                        88 250 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 19 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 250 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle6_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 250 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle6_2";
        }
        itemDef
        {
            rect                        90 252 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle6_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_2"), ((48 + ((32 + 2) * (6))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 252 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle6_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 249 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(19 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 248 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle6_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle6_2"), ((44 + ((32 + 2) * (6))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (6))));
            exp rect w                  select((getfocuseditemname() == "cardTitle6_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle6_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(19 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 19 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle6_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            name                        "cardTitle7_2"
            rect                        88 284 164 36 2 1
            style                       3
            type                        1
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            forecolor                   1 1 1 0
            background                  "white"
            onFocus
            {
                play mouse_over;
                setLocalVarFloat ui_shelfTime milliseconds();
                setLocalVarString ui_tempVar tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                if (localvarstring("ui_tempVar") != "")
                {
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                }
                setLocalVarString ui_title_challenge "";
                setLocalVarString ui_title_ref "";
                if ((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 3);
                    setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 1;
                }
                if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    setLocalVarBool browsingCardTitle 0;
                }
            }
            leaveFocus
            {
                setLocalVarBool browsingCardTitle 0;
                setLocalVarString ui_title_ref "";
                setLocalVarString ui_title_challenge "";
            }
            action
            {
                if ((iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                {
                    play mouse_click;
                    setDvar elite_clan_using_title 0;
                    execnow clear_eliteclan_title;
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitle ( localVarInt ( ui_tempIndex ) );
                    close self;
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 0
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 164
            {
                if (localvarint("ui_pageIndex"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_left_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 163
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    setLocalVarString ui_title_challenge "";
                    setLocalVarString ui_title_ref "";
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarString ui_title_challenge tablelookup("mp/unlockTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 3);
                        setLocalVarString ui_title_ref tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0);
                    }
                    setLocalVarInt ui_tempIndex 20 + (localvarint("ui_pageIndex") * 21);
                    setCardTitleNew ( localVarInt ( ui_tempIndex ) , false );
                    setLocalVarFloat ui_shelfTime milliseconds();
                    setLocalVarFloat ui_arrow_flash_right_time milliseconds();
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 1;
                    }
                    if ((tablelookupbyrow("mp/cardTitleTable.csv", "index", 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))))
                    {
                        setLocalVarBool browsingCardTitle 0;
                    }
                }
            }
            execKeyInt 30
            {
                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;
                }
            }
            execKeyInt 31
            {
                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;
                    }
                }
            }
            execKeyInt 156
            {
                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;
                }
            }
            execKeyInt 157
            {
                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;
                    }
                }
            }
        }
        itemDef
        {
            rect                        88 284 164 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             (getfocuseditemname() == "cardTitle7_2") * 0.5;
            exp rect w                  select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, (160 + 4), ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * (160 + 4)));
        }
        itemDef
        {
            rect                        86 284 4 36 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "white"
            exp forecolor a             getfocuseditemname() == "cardTitle7_2";
        }
        itemDef
        {
            rect                        90 286 160 32 2 1
            style                       1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            backcolor                   1 1 1 1
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 2);
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 5);
            exp rect x                  select((getfocuseditemname() == "cardTitle7_2"), ((0 - 250) + (170 * 2) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_2"), ((48 + ((32 + 2) * (7))) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)) / 2)), (48 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_2"), (160 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_2"), (32 + (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 3, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 3)))), 32);
        }
        itemDef
        {
            rect                        90 286 160 32 2 1
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && (iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textalign                   5
            textaligny                  8
            textscale                   0.375
            textstyle                   8
            textfont                    3
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 1);
        }
        itemDef
        {
            rect                        0 0 156.667 31.333 2 1
            style                       1
            decoration                  
            visible                     when((getfocuseditemname() == "cardTitle7_2") && localvarbool("browsingCardTitle"));
            textalign                   9
            textscale                   0.375
            textstyle                   8
            textfont                    3
            backcolor                   1 1 1 1
            exp text                    "@" + tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 1);
            exp material                tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 2);
            exp rect x                  (0 - ((240 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5))) / 2)) + 33.9;
            exp rect y                  (28 + 4) + (0 - 4.1) - (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5)) / 2);
            exp rect w                  156.667 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp rect h                  31.333 + select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 5));
            exp forecolor r             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 3);
            exp forecolor g             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 4);
            exp forecolor b             tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 5);
        }
        itemDef
        {
            rect                        80 283 32 16 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != ""));
            textscale                   0.55
            background                  "specialty_new"
            exp forecolor a             iscardtitlenew(20 + (localvarint("ui_pageIndex") * 21));
        }
        itemDef
        {
            rect                        90 282 160 38 2 1
            style                       3
            decoration                  
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))));
            textscale                   0.55
            background                  "mw3_title_locked"
            exp rect x                  select((getfocuseditemname() == "cardTitle7_2"), ((0 - 250) + (170 * 2) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), ((0 - 250) + (170 * 2)));
            exp rect y                  select((getfocuseditemname() == "cardTitle7_2"), ((44 + ((32 + 2) * (7))) - (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)) / 2)), (44 + ((32 + 2) * (7))));
            exp rect w                  select((getfocuseditemname() == "cardTitle7_2"), (160 + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), 160);
            exp rect h                  select((getfocuseditemname() == "cardTitle7_2"), ((32 + 6) + (select((milliseconds() - localvarfloat("ui_shelfTime")) > 200, 0, select(((milliseconds() - localvarfloat("ui_shelfTime")) / 200) < 0.5, (((milliseconds() - localvarfloat("ui_shelfTime")) / 200) / 0.5) * 5, ((1 - ((milliseconds() - localvarfloat("ui_shelfTime"))) / 200) / 0.5) * 5)))), (32 + 6));
        }
        itemDef
        {
            rect                        -234 -72 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when((tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0) != "") && !(iscardtitleunlocked(20 + (localvarint("ui_pageIndex") * 21)) && (tablelookup("mp/cardTitleTable.csv", 0, tablelookupbyrow("mp/cardTitleTable.csv", 20 + (localvarint("ui_pageIndex") * 21), 0), 9) != 1 || dvarbool(onlinegame) || !dvarbool(ui_multiplayer))) && getfocuseditemname() == "cardTitle7_2");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@MENU_SP_CLASSIFIED");
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.375
            textstyle                   8
            textfont                    9
            exp text                    getplayercardinfo(11, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 21.5;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) <= 142), 1, 0);
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.3
            textstyle                   8
            textfont                    9
            exp text                    getplayercardinfo(11, 1, 0);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 21.5;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) <= 180), 1, 0);
        }
        itemDef
        {
            rect                        0 0 146.7 16.6 2 1
            style                       1
            decoration                  
            visible                     when(1 && (getplayercardinfo(0, 1, 0) != 0));
            textalign                   8
            textscale                   0.225
            textstyle                   8
            textfont                    9
            exp text                    truncateTextWithEllipsis(getplayercardinfo(11, 1, 0), 9, (0.375 * 0.6), 140);
            exp rect x                  (0 - (240 / 2)) + 40;
            exp rect y                  (32) + 22;
            exp forecolor r             0.941;
            exp forecolor g             0.773;
            exp forecolor b             0.361;
            exp forecolor a             select((getTextWidth(getplayercardinfo(11, 1, 0), 9, 0.375) > 180), 1, 0);
        }
        itemDef
        {
            group                       "left_arrow"
            rect                        -254 28 48 48 2 1
            style                       3
            type                        1
            visible                     when(localvarint("ui_pageIndex") > 0);
            textalign                   10
            textscale                   0.55
            background                  "arrow_left"
            onFocus
            {
                play mouse_over;
                setItemColor left_arrow forecolor 1 1 "0.5" 1;
            }
            leaveFocus
            {
                setItemColor left_arrow forecolor 1 1 1 1;
            }
            action
            {
                if (localvarint("ui_pageIndex") > 0)
                {
                    play mouse_click;
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") - 1);
                    focusfirst;
                }
            }
            exp forecolor a             (sin(milliseconds() / 100) * 0.5 + 0.5) * 0.5 + 0.5;
        }
        itemDef
        {
            group                       "right_arrow"
            rect                        206 28 48 48 2 1
            style                       3
            type                        1
            visible                     when(localvarint("ui_pageIndex") < localvarint("ui_numPages"));
            textalign                   10
            textscale                   0.55
            background                  "arrow_right"
            onFocus
            {
                play mouse_over;
                setItemColor right_arrow forecolor 1 1 "0.5" 1;
            }
            leaveFocus
            {
                setItemColor right_arrow forecolor 1 1 1 1;
            }
            action
            {
                if (localvarint("ui_pageIndex") < localvarint("ui_numPages"))
                {
                    play mouse_click;
                    setLocalVarInt ui_pageIndex (localvarint("ui_pageIndex") + 1);
                    focusfirst;
                }
            }
            exp forecolor a             (sin(milliseconds() / 100) * 0.5 + 0.5) * 0.5 + 0.5;
        }
        itemDef
        {
            rect                        -234 -85 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when(localvarstring("ui_title_ref") != "" && (tablelookup("mp/cardTitleTable.csv", 0, localvarstring("ui_title_ref"), 8)) != "");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@" + tablelookup("mp/cardTitleTable.csv", 0, localvarstring("ui_title_ref"), 8));
        }
        itemDef
        {
            rect                        -234 -85 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when(localvarstring("ui_title_challenge") != "" && (tablelookup("mp/cardTitleTable.csv", 0, localvarstring("ui_title_ref"), 8)) == "" && ("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_title_challenge"), 3)) == "@CHALLENGE_BLANK");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_title_challenge"), 2));
        }
        itemDef
        {
            rect                        -234 -85 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when(localvarstring("ui_title_ref") != "" && (tablelookup("mp/cardTitleTable.csv", 0, localvarstring("ui_title_ref"), 8)) == "" && ("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("ui_title_challenge"), 3)) != "@CHALLENGE_BLANK" && tablelookup("mp/allChallengesTable.csv", 0, getStringWithoutIndex(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3)), 2) != "");
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    (locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, getStringWithoutIndex(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3)), 2), int(tablelookup("mp/allChallengesTable.csv", 0, getStringWithoutIndex(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3)), 6 + 2 * (select(getIndexFromString(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3)) == 0, 1, getIndexFromString(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3))) - 1)) / select(getStringWithoutIndex(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3)) == "ch_longersprint_pro", 5280, 1))));
        }
        itemDef
        {
            rect                        -234 -85 468 50 2 3
            decoration                  
            autowrapped                 
            visible                     when(localvarstring("ui_title_ref") != "" && (tablelookup("mp/cardTitleTable.csv", 0, localvarstring("ui_title_ref"), 8)) == "" && (tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 3) == "" && int(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 2)) > 0 && int(tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 2)) <= 80 && tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 7) == ""));
            textalign                   5
            textscale                   0.4583
            textfont                    3
            exp text                    locstring("@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_title_ref"), 2), 17));
        }
        itemDef
        {
            rect                        0 -20 50 24 2 3
            decoration                  
            visible                     when(1);
            textalign                   5
            textalignx                  -30
            textscale                   0.3333
            textfont                    10
            exp text                    locstring("@MENU_PAGE_N_SLASH_N", (localvarint("ui_pageIndex") + 1), (localvarint("ui_numPages") + 1));
            exp rect y                  0 - select(dvarbool(widescreen), 20, 38);
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            type                        1
            visible                     when(1);
            textalign                   8
            textscale                   0.375
            textfont                    3
            onFocus
            {
                setLocalVarInt ui_ralign_index 1;
                setLocalVarString ui_ralign_group "menu_playercard_title_popup";
                play mouse_over;
            }
            leaveFocus
            {
                setLocalVarInt ui_ralign_index - 1;
                setLocalVarString ui_ralign_group "";
            }
            action
            {
                play mouse_click;
                uiscript simulateKeyPress 27;
            }
            exp rect x                  (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 8.666 3 3
            style                       3
            decoration                  
            visible                     when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_playercard_title_popup"));
            textscale                   0.55
            background                  "navbar_selection_bar_shadow"
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667)) + 20;
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            style                       1
            decoration                  
            visible                     when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_playercard_title_popup"));
            textscale                   0.55
            backcolor                   0.6 0.6314 0.6 1
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.375
            textfont                    3
            exp text                    "@PLATFORM_BACK_SHORTCUT";
            exp rect x                  (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp forecolor r             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_playercard_title_popup"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor g             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_playercard_title_popup"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor b             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_playercard_title_popup"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
        }
    }
}
