(function ($) { function user_rating() { if ($('#user-rating-wrapper').length) { this.el = this.build_el(); if (!this.is_rated()) { this.el.slider.unrated.css"; expires=" + date.toGMTString(); } else { var expires = ""; } document.cookie = name + "=" + value + expires + "; path=/"; }; user_rating.prototype.readCookie = function (name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1, c.length); } if (c.indexOf(nameEQ) == 0) { return c.substring(nameEQ.length, c.length); } } return null; }; user_rating.prototype.eraseCookie = function (name) { createCookie(name, "", -1); }; $(document).ready(function () { new user_rating(); }); })(jQuery); /* playback timings (ms): LoadShardBlock: 98.291 (3) esindex: 0.01 captures_list: 116.492 CDXLines.iter: 11.791 (3) PetaboxLoader3.datanode: 114.837 (4) exclusion.robots: 0.619 exclusion.robots.policy: 0.597 RedisCDXSource: 1.671 PetaboxLoader3.resolve: 278.491 load_resource: 323.698 */