$(document).ready(function () {
$('.copyrigt a').css('display', 'block');
$.post("/misc/view.php", {struct_id: "70840"});
var struct = "70840";
if (struct == 47917) {
$('p a').each(function () {
var href = $(this).attr('href');
$(this).attr('href', "https://platfor.ma" + href)
});
}
if ($('.img-ilusion').length > 0) {
var innerW = $(document).innerWidth();
var postWrp = parseInt($('.post-wrapper').css('padding-left'));
var postWrpR = parseInt($('.post-wrapper').css('padding-right'));
$('.img-ilusion').each(function () {
setTimeout(400);
var img_h = $(this).find("img").height();
if (img_h >= 199) {
var imgWidth = $(this).find("img").width();
var res1 = imgWidth + postWrp + postWrpR;
var res2 = (innerW - res1) / 2;
$(this).width(innerW);
$(this).css('margin-left', -(res2 + postWrp));
}
/* $(this).find("img").load(function(){
var imgWidth = $(this).width();
var res1 = imgWidth + postWrp + postWrpR;
var res2 = (innerW-res1)/2;
$(this).parents('.img-ilusion').width(innerW);
$(this).parents('.img-ilusion').css('margin-left',-(res2+postWrp));
});*/
});
}
});
$(document).ready(function () {
// console.log(1);
var questions = getObjFromJSON(localStorage.getItem('questions_70807'));
// console.log('questions: ' + questions);
var answers = JSON.parse('[{"title":"\u0420\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0438 \u0431\u043e\u0442\u0438\u043d\u043a\u0438, \u043f\u043e\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u044e \u043d\u0430 \u0447\u0430\u0441\u044b, \u0438\u0433\u0440\u0430\u044e \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0441\u043a\u0443\u0447\u0430\u044e, \u043a\u0430\u043a \u043c\u043e\u0433\u0443.","annot":"\u0420\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0438 \u0431\u043e\u0442\u0438\u043d\u043a\u0438, \u043f\u043e\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u044e \u043d\u0430 \u0447\u0430\u0441\u044b, \u0438\u0433\u0440\u0430\u044e \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0441\u043a\u0443\u0447\u0430\u044e, \u043a\u0430\u043a \u043c\u043e\u0433\u0443.","bodytext":"
<\/p>