{"id":926,"date":"2023-09-23T19:35:16","date_gmt":"2023-09-23T16:35:16","guid":{"rendered":"https:\/\/nilchrono.kpfu.ru\/?page_id=926"},"modified":"2023-09-25T23:33:40","modified_gmt":"2023-09-25T20:33:40","slug":"%d0%b4%d0%bb%d1%8f-%d1%82%d0%b5%d1%81%d1%82%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d1%88%d0%ba%d0%b0%d0%bb%d1%8b-%d0%b2%d1%80%d0%b5%d0%bc%d0%b5%d0%bd%d0%b8","status":"publish","type":"page","link":"https:\/\/nilchrono.kpfu.ru\/?page_id=926","title":{"rendered":"\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0448\u043a\u0430\u043b\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438"},"content":{"rendered":"\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Test &#171;map&#187; tag<\/title>\n  <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<\/head>\n<body>\n\n<!-- Years scale (div + table) ============================================= -->\n\n<style type='text\/css'>\nbody {\n    font-family: 'PT Sans', sans-serif;\n}\n#yearTooltip {                         \/* Tooltip for mouse above some year *\/\n  position: absolute; \n  top: 100; left: 100;\n  background: #005FA0;\n  color: #ffffff;\n  display: none;\n  z-index: 999;\n  font-size: 14px;\n  padding: 5px;\n}\n.yearsOnLine td:hover {\n    color: #005FA0;\n}\n.yearsOnLine td {\n    position: relative;\n}\n.yearsOnLine td::after{\n    position: absolute;\n    content: '';\n    width: 2px;\n    border-radius: 2px;\n    background-image: linear-gradient(0deg, #347dad, #005FA0);\n    height: 15px;\n    bottom: -19px;\n    left: 58px;\n}\n.yearsLine td{\n    padding: 0;\n    padding-top: 20px;\n    border: none;\n    border-bottom: 2px solid #005FA0;\n}\n\n<\/style>\n    <span id='yearTooltip'><\/span>\n    <span id='yearsScale' style='cursor:pointer' onClick='getClick(this, event)'\n    onmousemove='yearTooltipShow(this, event)' onmouseout='yearTooltipClear()'>\n    <!-- Attention! Here must be used <span>, not <div> -->\n\n    <div id='yearsDiv' style='width:1100px; background:#e8f6ff'>\n    <table width='100%' border='0' cellpadding='0' cellspacing='0' \n    style='font-size:13px; line-height: 100%; border: 1px solid #f5f5f5; border-width: 0 1px 0 1px; padding-top: 10px;font-weight: bold;'>\n\n    <tr class=\"yearsOnLine\" valign='middle' align='center'>\n    <td width='85' style='border:0; padding:0'>1792<\/td>\n    <td width='80' style='border:0; padding:0'>1800<\/td>\n    <td width='80' style='border:0; padding:0'>1808<\/td>\n    <td width='80' style='border:0; padding:0'>1816<\/td>\n    <td width='80' style='border:0; padding:0'>1824<\/td>\n    <td width='80' style='border:0; padding:0'>1832<\/td>\n    <td width='80' style='border:0; padding:0'>1840<\/td>\n    <td width='80' style='border:0; padding:0'>1848<\/td>\n    <td width='85' style='border:0; padding:0'>1856<\/td>\n    <\/tr>\n\n    <tr class=\"yearsLine\" valign='top' align='center'>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n        <td><\/td>\n    <\/tr>\n    <\/table>\n    <\/div>\n    <\/span>\n\n<!-- Year calendar popup =================================================== -->\n\n<style type='text\/css'>\n#calendarPopup {\n  position: absolute; \n  top: 0; left: 0;\n  \/* background: #f5f5f5; *\/\n  display: none;\n  cursor: pointer; \n  z-index: 999;\n}\n\n\/* Ignored !!? (will be used in <table style='...'>) *\/\n\/* #calendarTable table { \n  font-size: 12px;\n  border-spacing: 0; \n  border-collapse: separate;\n} *\/\n\n#calendarTable { \n  font-size: 12px;\n  line-height: 100%;\n  border-spacing: 0; \n  border-collapse: separate;\n  padding: 10px;\n  margin-top: 16px;\n  border: 1px solid #E6E6E6;\n  border-radius: 4px;\n  box-shadow: 0px 4px 6px 0px rgba(200, 200, 200, 0.25);\n}\n\n#calendarTable tr:nth-child(even) {\n    background-color: #e8f6ff;\n}\n\n#calendarTable td {\n  padding: 2px; \n  border-bottom:  1px solid #e6e6e6; \n  font-size: 12px; \n  padding: 6px 4px;\n}\n.monthDay:hover {\n  background-color: #005FA0;\n  color: #ffffff;\n}\n.monthName {\n    padding-right: 10px;\n    font-weight: bold;\n}\n.selectedYear{\n    font-weight: bold;\n    font-size: 16px;\n}\n<\/style>\n<span id='calendarPopup'><\/span>\n\n<!-- Javascript ============================================================ -->\n\n<script>\n    function getClick(yearsScale, evt) {  \/* **************** Perform click *\/\n\n          evt = evt || window.event;                          \/* For old IE *\/\n                                               \/* Coord of parent container *\/\n          var scaleLeft = yearsScale.offsetLeft;\n          var scaleTop  = yearsScale.offsetTop;\n                                            \/* Clicked coords inside screen *\/\n          var clickX_page = evt.pageX;\n          var clickY_page = evt.pageY;\n                                         \/* Clicked coords inside container *\/\n          var clickX_scale = clickX_page - scaleLeft;\n          var clickY_scale = clickY_page - scaleTop;\n\n          var scaleWidth = yearsScale.offsetWidth;     \/* Remember <span> ! *\/\n          var pixPerYear  = scaleWidth \/ 65;     \/* Age of Lovbachevsky + 1 *\/\n          var clickedYear = 1792 + parseInt(clickX_scale \/ pixPerYear);\n\n          var calendarPopup = document.getElementById('calendarPopup');\n          calendarPopup.style.display = 'block';\n          calendarPopup.style.left    = clickX_page + 'px';\n          calendarPopup.style.top     = clickY_page + 20 + 'px';\n\n          calendarPopup.innerHTML = showCalendar(clickedYear);\n\n          return false;\n    }\n\n    function yearTooltipShow(yearsScale, evt) {\n          evt = evt || window.event;\n\n          var scaleLeft  = yearsScale.offsetLeft;\n          var scaleTop   = yearsScale.offsetTop;\n                                               \/* Mouse coord inside screen *\/\n          var mouseX_page = evt.pageX;\n          var mouseY_page = evt.pageY;\n                                            \/* Mouse coord inside container *\/\n          var mouseX_scale = mouseX_page - scaleLeft;\n          var mouseY_scale = mouseY_page - scaleTop;\n\n          var scaleWidth = yearsScale.offsetWidth;\n          var pixPerYear = scaleWidth \/ 65;\n          var mouseYear  = 1792 + parseInt(mouseX_scale \/ pixPerYear);\n                                                      \/* Show year on scale *\/\n          var yearTooltip = document.getElementById(\"yearTooltip\");\n          yearTooltip.innerHTML = mouseYear;\n          yearTooltip.style.left = mouseX_page + 20 + 'px';\n          yearTooltip.style.top  = mouseY_page + 'px';\n          yearTooltip.style.display = 'block';\n\n          return false;\n    }\n\n    function yearTooltipClear() {\n          var yearTooltip = document.getElementById(\"yearTooltip\");\n          yearTooltip.style.display = 'none';\n          return false;\n    }\n\n    function showCalendar(year) {  \/* ******* Build calendar for given year *\/\n          var calendarTable  = \n          \"<table width='100%' border='0' cellpadding='1' cellspacing='2'\"\n          + \" id='calendarTable'\"\n        \/\/   + \" style='border-spacing:0; border-collapse:separate; border: 1px solid #e6e6e6'\"\n          + \" title='\u0414\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c \u0449\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u043f\u043e \u0433\u043e\u0434\u0443, \u043c\u0435\u0441\u044f\u0446\u0443, \u0434\u043d\u044e'>\";\n\n          calendarTable += \n          \"<tr bgcolor='#ffffff' align='center' valign='middle'>\"\n          + \"<td colspan='31' onclick='gotoSearch(\\\"\" + year + \"\\\")'><span class='selectedYear'>\" + year + \"<\/span><\/td>\"\n          + \"<td onclick='hideCalendar()' title='\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043e\u043a\u043d\u043e'><small><b>X<\/b><\/small><\/td>\"\n          + \"<\/tr>\";\n\n          for (var m = 1; m <= 12; m++) {          \/* Months loop: [1 - 12] *\/\n               var mm = ('0' + m).slice(-2);                     \/* 1 -> 01 *\/\n               var year_month = year + \"-\" + mm;\n\n               if (m == 1) {\n                   var month_name = \"\u042f\u043d\u0432\";\n                   var dayMax = 31;\n               } else if (m == 2) {\n                   var month_name = \"\u0424\u0435\u0432\";\n                   var dayMax = 28;                 \/* P.S. Remember 29 !!! *\/\n               } else if (m == 3) {\n                   var month_name = \"\u041c\u0430\u0440\";\n                   var dayMax = 31;\n               } else if (m == 4) {\n                   var month_name = \"\u0410\u043f\u0440\";\n                   var dayMax = 30;\n               } else if (m == 5) {\n                   var month_name = \"\u041c\u0430\u0439\";\n                   var dayMax = 31;\n               } else if (m == 6) {\n                   var month_name = \"\u0418\u044e\u043d\";\n                   var dayMax = 30;\n               } else if (m == 7) {\n                   var month_name = \"\u0418\u044e\u043b\";\n                   var dayMax = 31;\n               } else if (m == 8) {\n                   var month_name = \"\u0410\u0432\u0433\";\n                   var dayMax = 31;\n               } else if (m == 9) {\n                   var month_name = \"\u0421\u0435\u043d\";\n                   var dayMax = 30;\n               } else if (m == 10) {\n                   var month_name = \"\u041e\u043a\u0442\";\n                   var dayMax = 31;\n               } else if (m == 11) {\n                   var month_name = \"\u041d\u043e\u044f\";\n                   var dayMax = 30;\n               } else if (m == 12) {\n                   var month_name = \"\u0414\u0435\u043a\";\n                   var dayMax = 31;\n               } else {\n                   var month_name = \"???\";\n                   var dayMax = 31;\n               }\n\n               calendarTable += \n               \"<tr bgcolor='#ffffff' align='center' valign='middle'>\"\n               + \"<td align='left' onclick='gotoSearch(\\\"\" + year_month + \"\\\")'><div class='monthName'>\" + month_name + \"<\/div><\/td>\";\n\n               for (var d = 1; d <= 31; d++) {   \/* Days loop: [1 - 31] *\/\n                    var dd = ('0' + d).slice(-2);\n                    var year_month_day = year_month + \"-\" + dd;\n\n                    if (d <= dayMax) {\n                        calendarTable += \n                        \"<td class='monthDay' onclick='gotoSearch(\\\"\" + year_month_day + \"\\\")'><small>\" + dd + \"<\/small><\/td>\";\n                    } else {\n                        calendarTable += \n                        \"<td><small>&nbsp;<\/small><\/td>\";\n                    }\n               }\n\n               calendarTable += \"<\/tr>\";\n          }\n\n          calendarTable += \"<\/table>\";\n\n          return calendarTable;\n    }\n\n    function hideCalendar() {  \/* ************** Hide calendar popup window *\/\n          var calendarPopup = document.getElementById('calendarPopup');\n          calendarPopup.style.display = 'none';\n          return false;\n    }\n\n    function gotoSearch(date) {  \/* ***** Call search plugin for given date *\/\n          alert(date);\n          return false;\n    }\n\n<\/script>\n\n\n<\/body>\n<\/html>\n\n\n\n<h2 class=\"wp-block-heading\">\u0428\u043a\u0430\u043b\u0430 \u0441\u043e \u0448\u0442\u0440\u0438\u0445\u0430\u043c\u0438<\/h2>\n\n\n\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Test &#171;map&#187; tag<\/title>\n  <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<\/head>\n<body>\n\n<!-- Years scale (div + table) ============================================= -->\n\n<style type='text\/css'>\nbody {\n    font-family: 'PT Sans', sans-serif;\n}\n#yearTooltip {                         \/* Tooltip for mouse above some year *\/\n  position: absolute; \n  top: 100; left: 100;\n  background: #005FA0;\n  color: #ffffff;\n  display: none;\n  z-index: 999;\n  font-size: 14px;\n  padding: 5px;\n}\n.yearsOnLine td:hover {\n    color: #005FA0;\n}\n.yearsOnLine td {\n    position: relative;\n}\n.yearsOnLine td::after{\n    position: absolute;\n    content: '';\n    width: 2px;\n    border-radius: 2px;\n    background-image: linear-gradient(0deg, #347dad, #005FA0);\n    height: 15px;\n    bottom: -19px;\n    left: 58px;\n}\n.yearsLine td{\n    padding: 0;\n    padding-top: 20px;\n    border: none;\n    border-bottom: 2px solid #005FA0;\n}\n.line{\n    width: 2px;\n    height: 5px;\n    background: #005FA0;\n    display: inline-block;\n    margin-left: 9px;\n}\n.line:hover {\n    background: #62addf;\n}\n\n<\/style>\n    <span id='yearTooltip'><\/span>\n    <span id='yearsScale' style='cursor:pointer' onClick='getClick(this, event)'\n    onmousemove='yearTooltipShow(this, event)' onmouseout='yearTooltipClear()'>\n    <!-- Attention! Here must be used <span>, not <div> -->\n\n    <div id='yearsDiv' style='width:1100px; background:#e8f6ff'>\n    <table width='100%' border='0' cellpadding='0' cellspacing='0' \n    style='font-size:13px; line-height: 100%; border: 1px solid #f5f5f5; border-width: 0 1px 0 1px; padding-top: 10px;font-weight: bold;'>\n\n    <tr class=\"yearsOnLine\" valign='middle' align='center'>\n    <td width='85' style='border:0; padding:0'>1792<\/td>\n    <td width='80' style='border:0; padding:0'>1800<\/td>\n    <td width='80' style='border:0; padding:0'>1808<\/td>\n    <td width='80' style='border:0; padding:0'>1816<\/td>\n    <td width='80' style='border:0; padding:0'>1824<\/td>\n    <td width='80' style='border:0; padding:0'>1832<\/td>\n    <td width='80' style='border:0; padding:0'>1840<\/td>\n    <td width='80' style='border:0; padding:0'>1848<\/td>\n    <td width='85' style='border:0; padding:0'>1856<\/td>\n    <\/tr>\n\n    <tr class=\"yearsLine\" valign='top' align='center'>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n        <td>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n            <div class=\"line\"><\/div>\n        <\/td>\n    <\/tr>\n    <\/table>\n    <\/div>\n    <\/span>\n\n<!-- Year calendar popup =================================================== -->\n\n<style type='text\/css'>\n#calendarPopup {\n  position: absolute; \n  top: 0; left: 0;\n  \/* background: #f5f5f5; *\/\n  display: none;\n  cursor: pointer; \n  z-index: 999;\n}\n\n\/* Ignored !!? (will be used in <table style='...'>) *\/\n\/* #calendarTable table { \n  font-size: 12px;\n  border-spacing: 0; \n  border-collapse: separate;\n} *\/\n\n#calendarTable { \n  font-size: 12px;\n  line-height: 100%;\n  border-spacing: 0; \n  border-collapse: separate;\n  padding: 10px;\n  margin-top: 16px;\n  border: 1px solid #E6E6E6;\n  border-radius: 4px;\n  box-shadow: 0px 4px 6px 0px rgba(200, 200, 200, 0.25);\n}\n\n#calendarTable tr:nth-child(even) {\n    background-color: #e8f6ff;\n}\n\n#calendarTable td {\n  padding: 2px; \n  border-bottom:  1px solid #e6e6e6; \n  font-size: 12px; \n  padding: 6px 4px;\n}\n.monthDay:hover {\n  background-color: #005FA0;\n  color: #ffffff;\n}\n.monthName {\n    padding-right: 10px;\n    font-weight: bold;\n}\n.selectedYear{\n    font-weight: bold;\n    font-size: 16px;\n}\n<\/style>\n<span id='calendarPopup'><\/span>\n\n<!-- Javascript ============================================================ -->\n\n<script>\n    function getClick(yearsScale, evt) {  \/* **************** Perform click *\/\n\n          evt = evt || window.event;                          \/* For old IE *\/\n                                               \/* Coord of parent container *\/\n          var scaleLeft = yearsScale.offsetLeft;\n          var scaleTop  = yearsScale.offsetTop;\n                                            \/* Clicked coords inside screen *\/\n          var clickX_page = evt.pageX;\n          var clickY_page = evt.pageY;\n                                         \/* Clicked coords inside container *\/\n          var clickX_scale = clickX_page - scaleLeft;\n          var clickY_scale = clickY_page - scaleTop;\n\n          var scaleWidth = yearsScale.offsetWidth;     \/* Remember <span> ! *\/\n          var pixPerYear  = scaleWidth \/ 65;     \/* Age of Lovbachevsky + 1 *\/\n          var clickedYear = 1792 + parseInt(clickX_scale \/ pixPerYear);\n\n          var calendarPopup = document.getElementById('calendarPopup');\n          calendarPopup.style.display = 'block';\n          calendarPopup.style.left    = clickX_page + 'px';\n          calendarPopup.style.top     = clickY_page + 20 + 'px';\n\n          calendarPopup.innerHTML = showCalendar(clickedYear);\n\n          return false;\n    }\n\n    function yearTooltipShow(yearsScale, evt) {\n          evt = evt || window.event;\n\n          var scaleLeft  = yearsScale.offsetLeft;\n          var scaleTop   = yearsScale.offsetTop;\n                                               \/* Mouse coord inside screen *\/\n          var mouseX_page = evt.pageX;\n          var mouseY_page = evt.pageY;\n                                            \/* Mouse coord inside container *\/\n          var mouseX_scale = mouseX_page - scaleLeft;\n          var mouseY_scale = mouseY_page - scaleTop;\n\n          var scaleWidth = yearsScale.offsetWidth;\n          var pixPerYear = scaleWidth \/ 65;\n          var mouseYear  = 1792 + parseInt(mouseX_scale \/ pixPerYear);\n                                                      \/* Show year on scale *\/\n          var yearTooltip = document.getElementById(\"yearTooltip\");\n          yearTooltip.innerHTML = mouseYear;\n          yearTooltip.style.left = mouseX_page + 20 + 'px';\n          yearTooltip.style.top  = mouseY_page + 'px';\n          yearTooltip.style.display = 'block';\n\n          return false;\n    }\n\n    function yearTooltipClear() {\n          var yearTooltip = document.getElementById(\"yearTooltip\");\n          yearTooltip.style.display = 'none';\n          return false;\n    }\n\n    function showCalendar(year) {  \/* ******* Build calendar for given year *\/\n          var calendarTable  = \n          \"<table width='100%' border='0' cellpadding='1' cellspacing='2'\"\n          + \" id='calendarTable'\"\n        \/\/   + \" style='border-spacing:0; border-collapse:separate; border: 1px solid #e6e6e6'\"\n          + \" title='\u0414\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c \u0449\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u043f\u043e \u0433\u043e\u0434\u0443, \u043c\u0435\u0441\u044f\u0446\u0443, \u0434\u043d\u044e'>\";\n\n          calendarTable += \n          \"<tr bgcolor='#ffffff' align='center' valign='middle'>\"\n          + \"<td colspan='31' onclick='gotoSearch(\\\"\" + year + \"\\\")'><span class='selectedYear'>\" + year + \"<\/span><\/td>\"\n          + \"<td onclick='hideCalendar()' title='\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043e\u043a\u043d\u043e'><small><b>X<\/b><\/small><\/td>\"\n          + \"<\/tr>\";\n\n          for (var m = 1; m <= 12; m++) {          \/* Months loop: [1 - 12] *\/\n               var mm = ('0' + m).slice(-2);                     \/* 1 -> 01 *\/\n               var year_month = year + \"-\" + mm;\n\n               if (m == 1) {\n                   var month_name = \"\u042f\u043d\u0432\";\n                   var dayMax = 31;\n               } else if (m == 2) {\n                   var month_name = \"\u0424\u0435\u0432\";\n                   var dayMax = 28;                 \/* P.S. Remember 29 !!! *\/\n               } else if (m == 3) {\n                   var month_name = \"\u041c\u0430\u0440\";\n                   var dayMax = 31;\n               } else if (m == 4) {\n                   var month_name = \"\u0410\u043f\u0440\";\n                   var dayMax = 30;\n               } else if (m == 5) {\n                   var month_name = \"\u041c\u0430\u0439\";\n                   var dayMax = 31;\n               } else if (m == 6) {\n                   var month_name = \"\u0418\u044e\u043d\";\n                   var dayMax = 30;\n               } else if (m == 7) {\n                   var month_name = \"\u0418\u044e\u043b\";\n                   var dayMax = 31;\n               } else if (m == 8) {\n                   var month_name = \"\u0410\u0432\u0433\";\n                   var dayMax = 31;\n               } else if (m == 9) {\n                   var month_name = \"\u0421\u0435\u043d\";\n                   var dayMax = 30;\n               } else if (m == 10) {\n                   var month_name = \"\u041e\u043a\u0442\";\n                   var dayMax = 31;\n               } else if (m == 11) {\n                   var month_name = \"\u041d\u043e\u044f\";\n                   var dayMax = 30;\n               } else if (m == 12) {\n                   var month_name = \"\u0414\u0435\u043a\";\n                   var dayMax = 31;\n               } else {\n                   var month_name = \"???\";\n                   var dayMax = 31;\n               }\n\n               calendarTable += \n               \"<tr bgcolor='#ffffff' align='center' valign='middle'>\"\n               + \"<td align='left' onclick='gotoSearch(\\\"\" + year_month + \"\\\")'><div class='monthName'>\" + month_name + \"<\/div><\/td>\";\n\n               for (var d = 1; d <= 31; d++) {   \/* Days loop: [1 - 31] *\/\n                    var dd = ('0' + d).slice(-2);\n                    var year_month_day = year_month + \"-\" + dd;\n\n                    if (d <= dayMax) {\n                        calendarTable += \n                        \"<td class='monthDay' onclick='gotoSearch(\\\"\" + year_month_day + \"\\\")'><small>\" + dd + \"<\/small><\/td>\";\n                    } else {\n                        calendarTable += \n                        \"<td><small>&nbsp;<\/small><\/td>\";\n                    }\n               }\n\n               calendarTable += \"<\/tr>\";\n          }\n\n          calendarTable += \"<\/table>\";\n\n          return calendarTable;\n    }\n\n    function hideCalendar() {  \/* ************** Hide calendar popup window *\/\n          var calendarPopup = document.getElementById('calendarPopup');\n          calendarPopup.style.display = 'none';\n          return false;\n    }\n\n    function gotoSearch(date) {  \/* ***** Call search plugin for given date *\/\n          alert(date);\n          return false;\n    }\n\n<\/script>\n\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Test &#171;map&#187; tag 1792 1800 1808 1816 1824 1832 1840 1848 1856 \u0428\u043a\u0430\u043b\u0430 \u0441\u043e \u0448\u0442\u0440\u0438\u0445\u0430\u043c\u0438 Test &#171;map&#187; tag 1792 1800 1808 1816 1824 1832 1840 1848 1856<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-926","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/pages\/926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=926"}],"version-history":[{"count":7,"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/pages\/926\/revisions"}],"predecessor-version":[{"id":966,"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=\/wp\/v2\/pages\/926\/revisions\/966"}],"wp:attachment":[{"href":"https:\/\/nilchrono.kpfu.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}