jQuery.cookie=function(e){e=e||{};if(typeof e.sName!=="undefined"){if(typeof e.sValue!=="undefined"){var f="";if(e.sValue===null){e.sValue="";e.sExpires=-1;}if(e.sExpires&&(typeof e.sExpires=="number"||e.sExpires.toUTCString())){var c=new Date();if(typeof e.sExpires=="number"){c.setTime(c.getTime()+(parseInt(e.sExpires)*24*60*60*1000));}else{c=e.sExpires;alert("b");}f="; expires="+c.toUTCString();}document.cookie=[e.sName,"=",encodeURIComponent(e.sValue),f,e.sPath?"; path="+(e.sPath):"",e.sDomain?"; domain="+(e.sDomain):"",e.bSecure?"; secure":""].join("");}else{var a=null;if(document.cookie&&document.cookie!=""){var d=document.cookie.split(";");for(var b=0;b<d.length;b++){var g=$.trim(d[b]);if(g.substring(0,e.sName.length+1)==(e.sName+"=")){a=decodeURIComponent(g.substring(e.sName.length+1));break;}}}return a;}}};