var PCookie=Class.create({initialize:function(){this.data=new Object();if(document.cookie.length==0){errorMessage("You have disabled cookies. Javascript on this site will not work. <br /><b>Note:</b> You will be receiving this message everytime when a Javascript requests for cookies.");return}var c=document.cookie.split("; ");var f=c.length;for(var b=0;b<f;b++){var a=c[b].split("=");try{a[1]=unescape(a[1]).evalJSON(true)}catch(d){}this.data[a[0]]=a[1]}},value:function(a){return this.data[a]},setValue:function(c,d,e){if(e==undefined){e=7}var b=c+"="+d;var a=new Date();a.setTime(a.getTime()+(e*24*3600*1000));document.cookie=b+"; expires="+a.toGMTString()+"; path=/";this.data[c]=d}});var PCookieManager=new PCookie();
