var PLAYERS_N = 3;
var EXIT_BAN_TIME = 900;
+var cookiepath = "/brisk/";
function $(id) { return document.getElementById(id); }
function send_mesg(mesg)
{
var xhr_wr = createXMLHttpRequest();
- // xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+encodeURIComponent(mesg), true);
- xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+mesg, true);
+
+
+ xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+encodeURIComponent(mesg), true);
xhr_wr.onreadystatechange = function() { return; };
xhr_wr.send(null);
{
var res;
- if (g_exitlock < 3)
+ if (g_exitlock < 2)
res = window.confirm("Sei sicuro di volere abbandonare la partita?\nATTENZIONE: se esci adesso senza il consenso degli altri giocatori non potrai sederti ai tavoli per "+(Math.floor(EXIT_BAN_TIME/60))+" minuti.");
else
res = window.confirm("Sei sicuro di volere abbandonare la partita?");