var cookiename="iplocation";jquery.cookie=function(c,g,d){if(arguments.length>1&&(g===null||typeof g!=="object")){d=jquery.extend({},d); if(g===null){d.expires=-1}if(typeof d.expires==="number"){var a=d.expires,f=d.expires=new date();f.setdate(f.getdate()+a) }return(document.cookie=[encodeuricomponent(c),"=",d.raw?string(g):encodeuricomponent(string(g)),d.expires?"; expires="+d.expires.toutcstring():"",d.path?"; path="+d.path:"",d.domain?"; domain="+d.domain:"",d.secure?"; secure":""].join("")) }d=g||{};var e,b=d.raw?function(h){return h}:decodeuricomponent;return(e=new regexp("(?:^|; )"+encodeuricomponent(c)+"=([^;]*)").exec(document.cookie))?b(e[1]):null };