function GoTo(e){window.open(e.replace("_","http://"))}function base64_decode(e){if("undefined"==typeof window)return new Buffer(e,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(e)));var t,n,i,o,a,s,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=0,l=0,c="",u=[];if(!e)return e;for(e+="";t=(s=r.indexOf(e.charAt(d++))<<18|r.indexOf(e.charAt(d++))<<12|(o=r.indexOf(e.charAt(d++)))<<6|(a=r.indexOf(e.charAt(d++))))>>16&255,n=s>>8&255,i=255&s,u[l++]=64===o?String.fromCharCode(t):64===a?String.fromCharCode(t,n):String.fromCharCode(t,n,i),dc(".site-header").outerHeight()&&974( "+r+" "+t+", "+lang_array.text1+" "+l+" "+lang_array.text2+" 5 )")}else e.data,console.log(e);var i;a.removeClass("process")})}}),c(".js-star-rating-item").on({mouseenter:function(){c(this).parent().hasClass("disabled")||(c(this).parent().addClass("hover"),c(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){c(this).parent().hasClass("disabled")||(c(this).parent().removeClass("hover"),c(".js-star-rating-item").removeClass("hover"))}}),c(".js-share-link").click(function(){c(this).hasClass("js-share-link-no-window")?window.location.href=c(this).data("uri"):function(e){var t,n=(screen.height-436)/2,i=(screen.width-626)/2;n<0&&(n=0);i<0&&(i=0);t="top="+n+",left="+i,t+=",height=436,width=626,resizable=no",open(e,"displayWindow",t)}(c(this).data("uri"))}),c(".js-spoiler-box-title").click(function(){c(this).toggleClass("active").next().slideToggle()}),c(".js-comment-smiles img").click(function(){var e=c(this);c("#comment").val(c("#comment").val()+" "+e.prop("alt"))}).on("dragstart",function(e){e.preventDefault()}),f(),c(window).resize(function(){f()})});