'en' : 'Exit.' },
'tit_list' : { '0' : { 'it' : '',
'en' : '' },
- '1' : { 'it' : '(solo aut.)',
- 'en' : '(only aut.)' },
- '2' : { 'it' : '(isolam.to)',
- 'en' : '(isolation)' } },
+ '1' : { 'it' : '(autenticati)',
+ 'en' : '(authenticated)' } },
'tos_refu' : { 'it' : 'Rifiutando di sottoscrivere i nuovi termini del servizio non ti sarà più possibile accedere come utente registrato al sito, sei proprio sicuro di voler rifiutare le nuove condizioni d\'uso ?',
'en' : 'EN Rifiutando di sottoscrivere i nuovi termini del servizio non ti sarà più possibile accedere come utente registrato al sito, sei proprio sicuro di voler rifiutare le nuove condizioni d\'uso ?'
}
}
var target = window.location.href.substring(0,
window.location.href.lastIndexOf('/') + 1) + 'index_wr.php';
- var ws_msg = JSON.stringify({target: target, mesg: mesg, stp:gst.st, sess:sess});
- console.log(ws_msg);
- xstm.transp.ws.send(ws_msg);
+ var ws_msg = JSON.stringify({
+ target: target,
+ mesg: mesg,
+ stp:gst.st,
+ sess:sess,
+ table_idx: readCookie("table_idx"),
+ table_token: readCookie("table_token"),
+ lang: readCookie("lang")
+ });
+ // console.log(ws_msg);
+ xstm.send(ws_msg);
+ /*
+ if (xstm.transp.ws.readyState == 1) {
+ xstm.transp.ws.send(ws_msg);
+ }
+ else {
+ xstm.transp.out_queue.push(ws_msg);
+ }
+ */
+
}
else {
var xhr_wr = createXMLHttpRequest();
delay, st);
}
-function slowimg(img,x1,y1,deltat,free,action,srcend) {
+function slowimg(img, x1, y1, deltat, free, action, card_id_end) {
this.img = img;
// this.x0 = parseInt(document.defaultView.getComputedStyle(this.img, "").getPropertyValue("left"));
this.deltat = deltat;
this.free = free;
this.action = action;
- this.srcend = srcend;
+ this.card_id_end = card_id_end;
}
slowimg.prototype = {
deltat: 40,
tout: 0,
action: null,
- srcend: null,
+ card_id_end: null,
setstart: function(x0,y0)
{
this.st.st_loc++;
this.st = null;
}
- if (this.srcend != null) {
- this.img.src = this.srcend;
+ if (this.card_id_end != null) {
+ this.img.setAttribute('data-card-id', this.card_id_end);
}
}
}