(number.substring(0, 2)) == 34 || parseInt(number.substring(0, 2)) == 37) {
      selected_card = 3;
    } else if (parseInt(number.substring(0, 2)) == 65) {
      selected_card = 4;
    } else if (parseInt(number.substring(0, 4)) == 5019) {
      selected_card = 5;
    } else {
      selected_card = -1;
    }

    if (selected_card != -1) {
      html.setAttribute("style", "--card-color: " + cards[selected_card].colore);
      $(".bankid").attr("src", cards[selected_card].src).show();
    } else {
      ht