﻿jQuery.cookie=function(P,Q,R){if(typeof Q!="undefined"){R=R||{};if(Q===null){Q="";R.expires=-1}var S="";if(R.expires&&(typeof R.expires=="number"||R.expires.toUTCString)){var T;if(typeof R.expires=="number"){T=new Date();T.setTime(T.getTime()+(R.expires*24*60*60*1000))}else{T=R.expires}S="; expires="+T.toUTCString()}var U=R.path?"; path="+(R.path):"";var V=R.domain?"; domain="+(R.domain):"";var W=R.secure?"; secure":"";document.cookie=[P,"=",encodeURIComponent(Q),S,U,V,W].join("")}else{var M=null;if(document.cookie&&document.cookie!=""){var N=document.cookie.split(";");for(var X=0;X<N.length;X++){var O=jQuery.trim(N[X]);if(O.substring(0,P.length+1)==(P+"=")){M=decodeURIComponent(O.substring(P.length+1));break}}}return M}};
