$(document).ready(function () {
$('.copyrigt a').css('display', 'block');
$.post("/misc/view.php", {struct_id: "70850"});
var struct = "70850";
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":"\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u041c\u0438\u0440\u00bb, \u043f\u043e\u0442\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.","annot":"\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u041c\u0438\u0440\u00bb, \u043f\u043e\u0442\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.","bodytext":"
<\/p>