text: jQuery.cookie = function (d, b, a) { if ("undefined" != typeof b) { a = a || {}; null === b && (b = "", a.expires = -1); var c = ""; if (a.expires && ("number" == typeof a.expires || a.expires.toUTCString)) "number" == typeof a.expires ? (c = new Date, c.setTime(c.getTime() + 864E5 * a.expires)) : c = a.expires, c = "; expires=" + c.toUTCString(); var e = a.path ? "; path=" + a.path : "", f = a.domain ? "; domain=" + a.domain : "", a = a.secure ? "; secure" : ""; document.cookie = [d, "=", encodeURIComponent(b), c, e, f, a].join("") } else { b = null; if (document.cookie && "" != document.cookie) { a = document.cookie.split(";"); for (c = 0; c < a.length; c++) if (e = jQuery.trim(a[c]), e.substring(0, d.length + 1) == d + "=") { b = e.substring(d.length + 1); b = -1 != b.indexOf("%u") ? unescape(b) : decodeURIComponent(b); break } } return b } };