<script>
  // timestamp to null = no cache
  var JSONendpointSettings = {
    locale: 'fr_FR',
    lang: 'FR',
    defaultGame: 'bataille',
    uri: {
      casinos: {
        url: 'json/casinos.json',
        timestamp: 43645
      },
      shows: {
        url: 'json/shows.json',
        timestamp: 54548
      },
      forkBooking: {
        url: '@@HTTP_JSON_STUBS_ROOT/fork-service.php',
        param: {
          key: 'preprod_barriere'
        },
        timestamp: null,
        urlEncode: false
      },
      forkBookingB2B: {
        url: '@@HTTP_JSON_STUBS_ROOT/fork-service-b2b.php',
        param: {
          key: 'preprod_barriere'
        },
        timestamp: null,
        urlEncode: false
      },
      bookingPokerTournament: {
        url: 'http://www.poker-barriere-inscription.com/Default.aspx'
      },
      nextRankingDate: {
        url: 'json/next-ranking-date.json'
      },
      currentWeekDates: {
        url: 'json/current-week-dates.json'
      },
      previousWeekDate: {
        url: 'json/previous-week-dates.json'
      },
      casinoRankingCurrent: {
        url: 'json/casino-ranking.json'
      },
      casinoRankingPrevious: {
        url: 'json/casino-ranking-previous.json'
      },
      casinoRankingSearchCurrent: {
        url: 'json/casino-ranking.json'
      },
      casinoRankingSearchPrevious: {
        url: 'json/casino-ranking-previous.json'
      }
    }
  };

  //i18n
  var tabMonths = ["JAN", "FEV", "MAR", "AVR", "MAI", "JUI", "JUL", "AOU", "SEP", "OCT", "NOV", "DÉC"];
  var tabMonthsFull = ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"];
  var tabDay = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
  var tabDayShort = ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'];

  var tournamentOpeningHour = "Horaires / ";
  var tournamentBuyIn = "Buy-in : ";
  var tournamentRegister = "S'inscrire";
  var tournamentViewCasino = "Voir le casino";

  var i18n = {
    free: 'gratuit'
  };
</script>
