jQuery.cookie = function(E, F, J) { if (typeof F != "undefined") { J = J || {}; if (F === null) { F = ""; J.expires = -1 } var D = ""; if (J.expires && (typeof J.expires == "number" || J.expires.toUTCString)) { var _; if (typeof J.expires == "number") { _ = new Date(); _.setTime(_.getTime() + (J.expires * 24 * 60 * 60 * 1000)) } else _ = J.expires; D = "; expires=" + _.toUTCString() } var G = J.path ? "; path=" + (J.path) : "", H = J.domain ? "; domain=" + (J.domain) : "", $ = J.secure ? "; secure" : ""; document.cookie = [E, "=", encodeURIComponent(F), D, G, H, $].join("") } else { var A = null; if (document.cookie && document.cookie != "") { var I = document.cookie.split(";"); for (var B = 0; B < I.length; B++) { var C = jQuery.trim(I[B]); if (C.substring(0, E.length + 1) == (E + "=")) { A = decodeURIComponent(C.substring(E.length + 1)); break } } } return A } };
