<script>
  // timestamp to null = no cache
  var JSONendpointSettings = {
    locale: 'en_GB',
    lang: 'EN',
    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", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
  var tabMonthsFull = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
  var tabDay = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
  var tabDayShort = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];

  var tournamentOpeningHour = "Opening Hours / ";
  var tournamentBuyIn = "Buy-in : ";
  var tournamentRegister = "Register";
  var tournamentViewCasino = "See the casino";

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