").html(a+"").text()+"\n\nSource: "+document.location.href),t.clipboardData.setData("text/html",'
"),t.preventDefault()}));var t=localStorage.getItem("pageRates");try{t=JSON.parse(t)||{}}catch(i){t={}}var a=window.location.href,c=t[a]||0,o=a in t;if(o){var i="#star"+c;console.log("Already rated, rate is: "+c),e(i).prop("checked",!0),e(".rating").addClass("ratedAlready")}e("input[type='radio']").click((function(){var i=e("input[name='rating']:checked").val();o?console.log("No need to spam, already voted: "+c):(t[a]=i,localStorage.setItem("pageRates",JSON.stringify(t)),e(".rating").addClass("ratedAlready"))}))}($)