var xxtea = "";
var strKey = "#*257^";
var public_lmColSpan = 0,fastBetState = "";
function UtfParser() {}
function Base64() {}

function decode(e,t3) {
    xxtea = new Xxtea(t3);
    return xxtea.xxtea_decrypt(e)
}
function Xxtea(e) {
    this._keyString = e
}
Xxtea.prototype._long2str = function(e, t) {
    var n = e.length,
    a = n - 1 << 2;
    if (t) {
        var o = e[n - 1];
        if (a - 3 > o || o > a) return null;
        a = o
    }
    for (var i = 0; n > i; i++) e[i] = String.fromCharCode(255 & e[i], e[i] >>> 8 & 255, e[i] >>> 16 & 255, e[i] >>> 24 & 255);
    return t ? e.join("").substring(0, a) : e.join("")
},
Xxtea.prototype._str2long = function(e, t) {
    for (var n = e.length,
    a = [], o = 0; n > o; o += 4) a[o >> 2] = e.charCodeAt(o) | e.charCodeAt(o + 1) << 8 | e.charCodeAt(o + 2) << 16 | e.charCodeAt(o + 3) << 24;
    return t && (a[a.length] = n),
    a
},
Xxtea.prototype.xxtea_encrypt = function(e) {
    if ("" == e) return "";
    e = Base64.encode64(UtfParser.utf16to8(e));
    var t = this._str2long(e, !0),
    n = this._str2long(this._keyString, !1);
    n.length < 4 && (n.length = 4);
    for (var a, o, i, s = t.length - 1,
    r = t[s], l = t[0], d = 2654435769, c = Math.floor(6 + 52 / (s + 1)), p = 0; 0 < c--;) {
        for (p = p + d & 4294967295, o = p >>> 2 & 3, i = 0; s > i; i++) l = t[i + 1],
        a = (r >>> 5 ^ l << 2) + (l >>> 3 ^ r << 4) ^ (p ^ l) + (n[3 & i ^ o] ^ r),
        r = t[i] = t[i] + a & 4294967295;
        l = t[0],
        a = (r >>> 5 ^ l << 2) + (l >>> 3 ^ r << 4) ^ (p ^ l) + (n[3 & i ^ o] ^ r),
        r = t[s] = t[s] + a & 4294967295
    }
    return Base64.encode64(this._long2str(t, !1))
},
Xxtea.prototype.xxtea_decrypt = function(e) {
    if ("" == e) return "";
    e = Base64.decode64(e);
    var t = this._str2long(e, !1),
    n = this._str2long(this._keyString, !1);
    n.length < 4 && (n.length = 4);
    for (var a, o, i, s = t.length - 1,
    r = t[s - 1], l = t[0], d = 2654435769, c = Math.floor(6 + 52 / (s + 1)), p = c * d & 4294967295; 0 != p;) {
        for (o = p >>> 2 & 3, i = s; i > 0; i--) r = t[i - 1],
        a = (r >>> 5 ^ l << 2) + (l >>> 3 ^ r << 4) ^ (p ^ l) + (n[3 & i ^ o] ^ r),
        l = t[i] = t[i] - a & 4294967295;
        r = t[s],
        a = (r >>> 5 ^ l << 2) + (l >>> 3 ^ r << 4) ^ (p ^ l) + (n[3 & i ^ o] ^ r),
        l = t[0] = t[0] - a & 4294967295,
        p = p - d & 4294967295
    }
    return UtfParser.utf8to16(Base64.decode64(this._long2str(t, !0)))
},
UtfParser.utf16to8 = function(e) {
    var t, n, a, o;
    for (t = "", a = e.length, n = 0; a > n; n++) o = e.charCodeAt(n),
    o >= 1 && 127 >= o ? t += e.charAt(n) : o > 2047 ? (t += String.fromCharCode(224 | o >> 12 & 15), t += String.fromCharCode(128 | o >> 6 & 63), t += String.fromCharCode(128 | o >> 0 & 63)) : (t += String.fromCharCode(192 | o >> 6 & 31), t += String.fromCharCode(128 | o >> 0 & 63));
    return t
},
UtfParser.utf8to16 = function(e) {
    e = e.toString();
    var t, n, a, o, i, s;
    for (t = "", a = e.length, n = 0; a > n;) switch (o = e.charCodeAt(n++), o >> 4) {
    case 0:
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
        t += e.charAt(n - 1);
        break;
    case 12:
    case 13:
        i = e.charCodeAt(n++),
        t += String.fromCharCode((31 & o) << 6 | 63 & i);
        break;
    case 14:
        i = e.charCodeAt(n++),
        s = e.charCodeAt(n++),
        t += String.fromCharCode((15 & o) << 12 | (63 & i) << 6 | (63 & s) << 0)
    }
    return t
},
Base64._keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
Base64.encode64 = function(e) {
    var t, n, a, o, i, s = "",
    r = "",
    l = "",
    d = 0;
    do t = e.charCodeAt(d++),
    n = e.charCodeAt(d++),
    r = e.charCodeAt(d++),
    a = t >> 2,
    o = (3 & t) << 4 | n >> 4,
    i = (15 & n) << 2 | r >> 6,
    l = 63 & r,
    isNaN(n) ? i = l = 64 : isNaN(r) && (l = 64),
    s = s + Base64._keyStr.charAt(a) + Base64._keyStr.charAt(o) + Base64._keyStr.charAt(i) + Base64._keyStr.charAt(l),
    t = n = r = "",
    a = o = i = l = "";
    while (d < e.length);
    return s
},
Base64.decode64 = function(e) {
    var t, n, a, o, i, s = "",
    r = "",
    l = "",
    d = 0,
    c = /[^A-Za-z0-9\+\/\=\n]/g;
    c.exec(e),
    e = e.replace(/[^A-Za-z0-9\+\/\=]/g, "");
    do a = Base64._keyStr.indexOf(e.charAt(d++)),
    o = Base64._keyStr.indexOf(e.charAt(d++)),
    i = Base64._keyStr.indexOf(e.charAt(d++)),
    l = Base64._keyStr.indexOf(e.charAt(d++)),
    t = a << 2 | o >> 4,
    n = (15 & o) << 4 | i >> 2,
    r = (3 & i) << 6 | l,
    s += String.fromCharCode(t),
    64 != i && (s += String.fromCharCode(n)),
    64 != l && (s += String.fromCharCode(r)),
    t = n = r = "",
    a = o = i = l = "";
    while (d < e.length);
    return s
};