var texts = {"popup_text":"
\u041c\u043e\u043b\u044f, \u0437\u0430\u043f\u043e\u0437\u043d\u0430\u0439\u0442\u0435 \u0441\u0435 \u0441 \u041e\u0431\u0449\u0438\u0442\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0437\u0430 \u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u0443\u0435\u0431\u0441\u0430\u0439\u0442\u0430 \u0438 \u0438\u0437\u044f\u0432\u043b\u0435\u043d\u0438\u0435\u0442\u043e \u0437\u0430 \u0434\u0430\u043d\u043d\u0438\u0442\u0435, \u043a\u043e\u0438\u0442\u043e \u0449\u0435 \u043d\u0430\u043c\u0435\u0440\u0438\u0442\u0435 \u0432 \u0434\u043e\u043b\u043d\u0438\u044f \u043a\u0440\u0430\u0439 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430.<\/p>","popup_text_desc":null,"privacy_person":"","privacy_email":"","agree_btn":"OK","coockie_policy_btn":"","understand_button":"\u041f\u0440\u0438\u0435\u043c\u0430\u043c","showbottom":1}; var popupElGlobal = null; class Cookie { setCookie(cname, cvalue, exdays) { var expires = ''; if (typeof exdays != 'undefined') { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); expires = "expires="+d.toUTCString(); } document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } getCookie(cname) { var name = cname + "="; 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); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } } function removePopup(popupEl){ popupEl.remove(); } function cookiesAggreed(popupEl){ cooObj.setCookie('coockie_policy_shown', 1, 10); popupEl.fadeOut(500, function(){ removePopup(popupEl) }); } function showCookiePolicies(){ var top_bottom = 20; var width = (jQuery(this).width() < 880)?'90%':'100%'; var overlayEl = jQuery("