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