{"id":25729,"date":"2023-10-26T08:14:28","date_gmt":"2023-10-26T08:14:28","guid":{"rendered":"https:\/\/www.otegroupmuseum.gr\/education\/imerologio-draseon\/"},"modified":"2023-10-31T09:15:44","modified_gmt":"2023-10-31T09:15:44","slug":"imerologio-draseon","status":"publish","type":"page","link":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/","title":{"rendered":"Events Calendar"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"25729\" class=\"elementor elementor-25729 elementor-25607\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b1845a7 elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"b1845a7\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-37cabf4\" data-id=\"37cabf4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e81a28d elementor-widget elementor-widget-heading\" data-id=\"e81a28d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Event Calendar<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5eefcc2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5eefcc2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-13f221b\" data-id=\"13f221b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-db7a372 elementor-widget elementor-widget-jet-breadcrumbs\" data-id=\"db7a372\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"jet-breadcrumbs.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-jet-breadcrumbs jet-blocks\">\n\t\t<div class=\"jet-breadcrumbs\">\n\t\t<div class=\"jet-breadcrumbs__content\">\n\t\t<div class=\"jet-breadcrumbs__wrap\"><div class=\"jet-breadcrumbs__item\"><a href=\"https:\/\/www.otegroupmuseum.gr\/en\/\" class=\"jet-breadcrumbs__item-link is-home\" rel=\"home\" title=\"Homepage\">Homepage<\/a><\/div>\n\t\t<\/div>\n\t\t<\/div>\n\t\t<\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ae9e587 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ae9e587\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c5dbdfe\" data-id=\"c5dbdfe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-73375e3 elementor-widget elementor-widget-shortcode\" data-id=\"73375e3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\r\n        <script src='https:\/\/cdn.jsdelivr.net\/npm\/vanillajs-datepicker@1.2.0\/dist\/js\/datepicker-full.min.js' id='datepicker-js'><\/script>\r\n        <link rel='stylesheet' id='datepicker-css' href='https:\/\/cdn.jsdelivr.net\/npm\/vanillajs-datepicker@1.2.0\/dist\/css\/datepicker.min.css' media='all' \/>\r\n        <link rel='stylesheet' id='calendar-style' href='https:\/\/www.otegroupmuseum.gr\/wp-content\/plugins\/_customization\/assets\/calendar\/style.css' media='all' \/>\r\n    \r\n<div class=\"container\">\r\n        <div class=\"ctm-main-content\">\r\n            <div class=\"ctm-main\" id=\"calendar\">\r\n                <div class=\"ctm-daily-events\">\r\n                    <h2 id=\"loop-title\" >All Events<\/h2>\r\n                    <div class=\"ctm-daily-events-loop\">\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"the-rest hidden\" >\r\n                    <hr>\r\n                    <div class=\"ctm-more-events\">\r\n                        <h2>More Events<\/h2>\r\n                        <div class=\"ctm-more-events-loop\">\r\n\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n            <div class=\"ctm-side\">\r\n                <div class=\"ctm-side-inner\">\r\n                    <h5>Events Calendar<\/h5>\r\n                    <hr\/>\r\n                    <br\/>\r\n                    <h6>DATE<\/h6>\r\n                    <div id=\"calendar_small\" data-date=13\/07\/2026\"><\/div>\r\n\r\n                    <input type=\"hidden\" name=\"calendar_date_chosen\" value=\"\" id=\"calendar_date_chosen\" \/>\r\n                    <br\/>\r\n                    <br\/>\r\n                    <input type=\"radio\" class=\"filter-radio\" name=\"days\" value=\"0\" id=\"today\" \/> <label for=\"today\" >Today<\/label><br>\r\n                    <input type=\"radio\" class=\"filter-radio\" name=\"days\" value=\"1\" id=\"tomorrow\" \/> <label for=\"tomorrow\" >Tomorrow<\/label><br>\r\n                    <input type=\"radio\" class=\"filter-radio\" name=\"days\" value=\"7\" id=\"sevendays\" \/> <label for=\"sevendays\" >Next 7 days<\/label><br>\r\n                    <input type=\"radio\" class=\"filter-radio\" name=\"days\" value=\"30\" id=\"thirtydays\" \/> <label for=\"thirtydays\" >Next 30 days<\/label><br>\r\n\r\n                    <br\/>\r\n                    <h6>CATEGORY<\/h6>\r\n                    <input type=\"checkbox\" class=\"filter-checkbox\" name=\"categ\" value=\"sxolia\" id=\"sxolia\" \/> <label for=\"sxolia\" >Schools<\/label><br>\r\n                    <input type=\"checkbox\" class=\"filter-checkbox\" name=\"categ\" value=\"oikogenies\" id=\"oikogenies\" \/> <label for=\"oikogenies\" >Families<\/label><br>\r\n                    <input type=\"checkbox\" class=\"filter-checkbox\" name=\"categ\" value=\"ksenagiseis\" id=\"ksenagiseis\" \/> <label for=\"ksenagiseis\" >Tours<\/label><br>\r\n                    <br\/>\r\n                    <br\/>\r\n                    <a class=\"clean-btn\" href=\"#\" onclick=\"resetFilters(); return false;\" >CLEAN FILTERS<\/a>\r\n                <\/div>\r\n            <\/div>\r\n\r\n        <\/div>\r\n    <\/div>\r\n\r\n\r\n    <script>\r\n\r\n        Datepicker.locales.el = {\r\n            days: ['\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae', '\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1', '\u03a4\u03c1\u03af\u03c4\u03b7', '\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7', '\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7', '\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae', '\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf'],\r\n            daysShort: ['\u039a\u03c5\u03c1', '\u0394\u03b5\u03c5', '\u03a4\u03c1\u03b9', '\u03a4\u03b5\u03c4', '\u03a0\u03b5\u03bc', '\u03a0\u03b1\u03c1', '\u03a3\u03b1\u03b2'],\r\n            daysMin: ['\u039a\u03c5', '\u0394\u03b5', '\u03a4\u03c1', '\u03a4\u03b5', '\u03a0\u03b5', '\u03a0\u03b1', '\u03a3\u03b1'],\r\n            months: ['\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2', '\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2', '\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2', '\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2', '\u039c\u03ac\u03b9\u03bf\u03c2', '\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2', '\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2', '\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2', '\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2', '\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2', '\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2', '\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2'],\r\n            monthsShort: ['\u0399\u03b1\u03bd', '\u03a6\u03b5\u03b2', '\u039c\u03b1\u03c1', '\u0391\u03c0\u03c1', '\u039c\u03ac\u03b9', '\u0399\u03bf\u03c5\u03bd', '\u0399\u03bf\u03c5\u03bb', '\u0391\u03c5\u03b3', '\u03a3\u03b5\u03c0', '\u039f\u03ba\u03c4', '\u039d\u03bf\u03b5', '\u0394\u03b5\u03ba'],\r\n            today: '\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1',\r\n            clear: '\u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2',\r\n            weekStart: 1,\r\n            format: 'd\/m\/yyyy'\r\n        };\r\n\r\n        var firstLoad = true;\r\n        let dontRefresh = false;\r\n        let exclusionArray = [  ];\r\n        let exclusionArray_sxolia = [  ];\r\n        let exclusionArray_oikogenies = [  ];\r\n        let exclusionArray_ksenagiseis = [  ];\r\n        let today = new Date();\r\n\r\n        var inputdate = document.getElementById('calendar_small');\r\n\r\n        let datepicker = new Datepicker(inputdate, {\r\n            format: 'yyyy-mm-dd',\r\n            minDate: today,\r\n            maxDate: '2026-07-13',\r\n            datesDisabled: exclusionArray,\r\n            todayHighlight: true,\r\n            \r\n\r\n        });\r\n\r\n        jQuery(document).ready(function(){\r\n            show_results();\r\n        });\r\n\r\n        document.querySelector('#calendar_small').addEventListener('changeDate', function (evt) {\r\n            if (dontRefresh == true) {\r\n                 dontRefresh = false;\r\n                 return;\r\n            }\r\n            jQuery('.filter-radio').prop('checked', false);\r\n            selectedDate = new Date(evt.detail.date);\r\n            var dtString =   selectedDate.getFullYear()\r\n                             + '-' +\r\n                             String(selectedDate.getMonth() + 1).padStart(2, '0')\r\n                             + '-' +\r\n                             String(selectedDate.getDate()).padStart(2, '0');\r\n            jQuery('#calendar_date_chosen').val(dtString);\r\n            show_results();\r\n        });\r\n\r\n        \/\/ filter DATES\r\n        jQuery('.filter-radio').click(function(){\r\n\r\n            if (datepicker.getDate() === undefined){\r\n                dontRefresh = false;\r\n            }else{\r\n                dontRefresh = true;\r\n            }\r\n            jQuery('#calendar_date_chosen').val('');\r\n\r\n            \/\/ will run dateChange only if date changes due to refresh\r\n            datepicker.setDate({clear:true});\r\n\r\n            show_results();\r\n        });\r\n\r\n\r\n        \/\/ filter \u039a\u0391\u03a4\u0397\u0393\u039f\u03a1\u0399\u0395\u03a3\r\n        jQuery('.filter-checkbox').click(function(){\r\n            setCalendarActiveDates();\r\n            show_results();\r\n        });\r\n\r\n\r\n\r\n        var draseis_data = [{\"ID\":24387,\"dates\":[\"2026-07-13\"],\"cats\":[\"oikogenies\",\"ksenagiseis\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/group-guided-tours\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/MT_\\u039f\\u03bc\\u03b1\\u03b4\\u03b9\\u03ba\\u03ae-\\u039e\\u03b5\\u03bd\\u03ac\\u03b3\\u03b7\\u03c3\\u03b7_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Live<\\\/span> \\\/\\\/ <span>Group Tours<\\\/span> \\\/\\\/ <span>Families<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Group guided tours<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">Adults and children over 10 years<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24355,\"dates\":[],\"cats\":[\"oikogenies\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/you-have-a-call-from-ecuador\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/MT_\\u039a\\u03bb\\u03ae\\u03c3\\u03b7-\\u03b1\\u03c0\\u03cc-\\u03c4\\u03bf\\u03bd-\\u0399\\u03c3\\u03b7\\u03bc\\u03b5\\u03c1\\u03b9\\u03bd\\u03cc_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Theatrical Performance<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Families<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>You have a call from Ecuador<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\"> aged 8-12 <\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":36123,\"dates\":[\"2026-07-13\"],\"cats\":[\"oikogenies\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/signals-with-light\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/MT_\\u03a3\\u03ae\\u03bc\\u03b1\\u03c4\\u03b1-\\u03bc\\u03b5-\\u03c6\\u03c9\\u03c2_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>STEM<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Families<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Signals with light<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\"> Children aged 6-8<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":36125,\"dates\":[\"2026-07-13\"],\"cats\":[\"oikogenies\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/children-families\\\/robots-on-the-road\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/MT_\\u03a1\\u03bf\\u03bc\\u03c0\\u03cc\\u03c4-\\u03c3\\u03c4\\u03bf\\u03bd-\\u03b4\\u03c1\\u03cc\\u03bc\\u03bf_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>STEM<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Families<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Robots on the Road<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">Children aged 9-12<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":36141,\"dates\":[],\"cats\":[\"oikogenies\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/art-workshops\\\/meeting-a-pigeon-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/MT_\\u03a3\\u03c5\\u03bd\\u03ac\\u03bd\\u03c4\\u03b7\\u03c3\\u03b7-\\u03bc\\u03b5-\\u03ad\\u03bd\\u03b1-\\u03c0\\u03b5\\u03c1\\u03b9\\u03c3\\u03c4\\u03ad\\u03c1\\u03b9_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Live<\\\/span> \\\/\\\/ <span>Families<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Meeting a pigeon<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">Children aged 6-8<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":40705,\"dates\":[],\"cats\":[\"oikogenies\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/children-families\\\/inventions-that-connected-our-worldwhat-is-communication-and-how-has-it-managed-to-bridge-distances-and-bring-the-world-closer-together\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/MT_\\u0395\\u03c6\\u03b5\\u03c5\\u03c1\\u03ad\\u03c3\\u03b5\\u03b9\\u03c2-\\u03c0\\u03bf\\u03c5-\\u03ad\\u03bd\\u03c9\\u03c3\\u03b1\\u03bd-\\u03c4\\u03bf\\u03bd-\\u03ba\\u03cc\\u03c3\\u03bc\\u03bf-\\u03bc\\u03b1\\u03c2_revised-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Live<\\\/span> \\\/\\\/ <span>Families<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Inventions That Connected Our World<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\"> aged 8-12<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":16313,\"dates\":[\"2026-07-13\"],\"cats\":[\"ksenagiseis\",\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/schools\\\/school-guided-tours-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03c3\\u03c7\\u03bf\\u03bb\\u03b9\\u03ba\\u03ae-\\u03be\\u03b5\\u03bd\\u03ac\\u03b3\\u03b7\\u03c3\\u03b7-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Guided tours<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>School guided tours<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">4th, 5th, 6th Primary School, Secondary School , High School<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":17673,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/smiling-prints-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03c7\\u03b1\\u03bc\\u03bf\\u03b3\\u03b5\\u03bb\\u03b1\\u03c3\\u03c4\\u03ac-\\u03c4\\u03c5\\u03c0\\u03ce\\u03bc\\u03b1\\u03c4\\u03b1-1-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Communication Game<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Smiling Prints<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">3rd, 4th, 5th Primary school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24345,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/secret-codes\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u039c\\u03c5\\u03c3\\u03c4\\u03b9\\u03ba\\u03bf\\u03af-\\u039a\\u03ce\\u03b4\\u03b9\\u03ba\\u03b5\\u03c2-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>STEM<\\\/span> \\\/\\\/ <span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Secret Codes<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">1st, 2nd, 3rd Secondary school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24341,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/robots-on-the-road-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03a1\\u03bf\\u03bc\\u03c0\\u03cc\\u03c4-\\u03c3\\u03c4\\u03bf-\\u03b4\\u03c1\\u03cc\\u03bc\\u03bf-2-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>STEM<\\\/span> \\\/\\\/ <span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Robots on the Road<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">4th, 5th, 6th Primary school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24333,\"dates\":[\"2026-07-13\"],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/signals-with-light-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03a3\\u03ae\\u03bc\\u03b1\\u03c4\\u03b1-\\u03bc\\u03b5-\\u03c6\\u03c9\\u03c2-2-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>STEM<\\\/span> \\\/\\\/ <span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Signals with light<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">1st, 2nd, 3rd Primary school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":25237,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/a-message-travels\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u0395\\u03bd\\u03b1-\\u03bc\\u03ae\\u03bd\\u03c5\\u03bc\\u03b1-\\u03c4\\u03b1\\u03be\\u03b9\\u03b4\\u03b5\\u03cd\\u03b5\\u03b9-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>A message travels<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">1st, 2nd , 3rd Primary School<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":35177,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/the-museum-poster\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03b7-\\u03b1\\u03c6\\u03af\\u03c3\\u03b1-\\u03c4\\u03bf\\u03c5-\\u039c\\u03bf\\u03c5\\u03c3\\u03b5\\u03af\\u03bf\\u03c5-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Communication Game<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>The Museum Poster<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">6th Primary school &amp; 1st &amp; 2nd Secondary School<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24359,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/chop-chop-2\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/\\u03c4\\u03c3\\u03b1\\u03ba\\u03b1-\\u03c4\\u03c3\\u03b1\\u03ba\\u03b1-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Communication Game<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Chop Chop<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">4th, 5th, 6th Primary school, 1st &amp; 2nd Secondary School<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":35337,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/weve-got-our-wires-crossed\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/\\u0391\\u03c0\\u03bf-\\u03c4\\u03b7\\u03bd-\\u03c0\\u03cc\\u03bb\\u03b7-\\u03ad\\u03c1\\u03c7\\u03bf\\u03bc\\u03b1\\u03b9-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Communication Game<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>We\\u2019ve got our wires crossed<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">3rd, 4th, 5th, 6th Primary school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":24351,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/safe-internet-browsing\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/\\u0394\\u03b9\\u03b1\\u03b4\\u03af\\u03ba\\u03c4\\u03c5\\u03bf-\\u03bc\\u03b5-\\u03b1\\u03c3\\u03c6\\u03ac\\u03bb\\u03b5\\u03b9\\u03b1-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>\\u0395\\u03bd\\u03b7\\u03bc\\u03b5\\u03c1\\u03c9\\u03c4\\u03b9\\u03ba\\u03ae \\u03b4\\u03c1\\u03ac\\u03c3\\u03b7<\\\/span> \\\/\\\/ <span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Information Activity<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Safer Internet<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">4th, 5th, 6th Primary school, Secondary school, High school<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":35257,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/objects-tell-stories\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/\\u0391\\u03bd\\u03c4\\u03b9\\u03ba\\u03b5\\u03af\\u03bc\\u03b5\\u03bd\\u03b1-\\u03b1\\u03c6\\u03b7\\u03b3\\u03bf\\u03cd\\u03bd\\u03c4\\u03b1\\u03b9-\\u03b9\\u03c3\\u03c4\\u03bf\\u03c1\\u03af\\u03b5\\u03c2-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Objects tell stories<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">Special schools <\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":35279,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/meeting-a-pigeon\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03a3\\u03c5\\u03bd\\u03ac\\u03bd\\u03c4\\u03b7\\u03c3\\u03b7-\\u03bc\\u03b5-\\u03ad\\u03bd\\u03b1-\\u03c0\\u03b5\\u03c1\\u03b9\\u03c3\\u03c4\\u03ad\\u03c1\\u03b9-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Art workshops<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Meeting a pigeon<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">Kindergarten &amp; 1st, 2nd, 3rd Primary School<\\\/div><\\\/a><\\\/div><\\\/div>\"},{\"ID\":35223,\"dates\":[],\"cats\":[\"sxolia\"],\"html\":\"<div class=\\\"ctm-more-events-item\\\" ><div class=\\\"ctm-more-events-item-inner\\\"><a href=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/live\\\/reporter-at-the-museum\\\/\\\" class=\\\"wrapper-link\\\"><div class=\\\"ctm-event-image\\\"><img decoding=\\\"async\\\" src=\\\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/\\u03a1\\u03b5\\u03c0\\u03cc\\u03c1\\u03c4\\u03b5\\u03c1-\\u03c3\\u03c4\\u03bf-\\u03bc\\u03bf\\u03c5\\u03c3\\u03b5\\u03af\\u03bf-300x216.png\\\" alt=\\\"\\\"><\\\/div><div class=\\\"ctm-category-event\\\"><span>Schools<\\\/span> \\\/\\\/ <span>Live<\\\/span> \\\/\\\/ <span>Communication Game<\\\/span><\\\/div><div class=\\\"ctm-event-title\\\"><h3>Reporter at the Museum<\\\/h3><\\\/div><div class=\\\"ctm-event-school\\\">5th and 6th Primary school  &amp; 1st Secondary school <\\\/div><\\\/a><\\\/div><\\\/div>\"}];\r\n\r\n        function show_results(){\r\n            if (firstLoad == false){\r\n                jQuery('#calendar').addClass('fade');\r\n            }\r\n            setTimeout(function(){\r\n                if (firstLoad == false){\r\n                    setTimeout(function(){\r\n                        window.scrollTo({top: jQuery('#calendar').offset().top - 20, behavior: 'smooth'});\r\n                    },500);\r\n                }\r\n                firstLoad = false;\r\n\r\n                \/\/ set default title\r\n                var list_Titles = {};\r\n\r\n                list_Titles.sxoliaoikogeniesksenagiseis = 'All Events';\r\n                \r\n                list_Titles.sxolia = 'School events';\r\n                list_Titles.oikogenies = ' Family events';\r\n                list_Titles.ksenagiseis = 'Tours';\r\n                list_Titles.sxoliaoikogenies = 'School & Family events';\r\n                list_Titles.sxoliaksenagiseis = 'School events & Tours';\r\n                list_Titles.oikogeniesksenagiseis = 'Family events & Tours';\r\n\r\n\r\n                var listTitle = list_Titles.sxoliaoikogeniesksenagiseis;\r\n\r\n                var date = jQuery('#calendar_date_chosen').val();\r\n                if (date!='') listTitle = fixDateStyle(date);\r\n\r\n                var dateFrom = '';\r\n                var dateTo = '';\r\n\r\n                \/\/ date has been chosen from radios\r\n                if ( jQuery('.filter-radio:checked').val()==0 ){\r\n                    const selectedDate = new Date();\r\n                    date = selectedDate.getFullYear() + '-' + String(selectedDate.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDate.getDate()).padStart(2, '0');\r\n                    listTitle = fixDateStyle(date);\r\n                }else if ( jQuery('.filter-radio:checked').val()==1 ){\r\n                    const selectedDate = new Date();\r\n                    selectedDate.setDate(selectedDate.getDate() + 1);\r\n                    date = selectedDate.getFullYear() + '-' + String(selectedDate.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDate.getDate()).padStart(2, '0');\r\n                    listTitle = fixDateStyle(date);\r\n                }else if ( jQuery('.filter-radio:checked').val()==7 ){\r\n                    const selectedDateStart = new Date();\r\n                    dateFrom = selectedDateStart.getFullYear() + '-' + String(selectedDateStart.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDateStart.getDate()).padStart(2, '0');\r\n                    const selectedDateEnd = new Date();\r\n                    selectedDateEnd.setDate(selectedDateEnd.getDate() + 7);\r\n                    dateTo = selectedDateEnd.getFullYear() + '-' + String(selectedDateEnd.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDateEnd.getDate()).padStart(2, '0');\r\n                    listTitle = fixDateStyle(dateFrom, dateTo);\r\n                }else if ( jQuery('.filter-radio:checked').val()==30 ){\r\n                    const selectedDateStart = new Date();\r\n                    dateFrom = selectedDateStart.getFullYear() + '-' + String(selectedDateStart.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDateStart.getDate()).padStart(2, '0');\r\n                    const selectedDateEnd = new Date();\r\n                    selectedDateEnd.setDate(selectedDateEnd.getDate() + 30);\r\n                    dateTo = selectedDateEnd.getFullYear() + '-' + String(selectedDateEnd.getMonth() + 1).padStart(2, '0') + '-' + String(selectedDateEnd.getDate()).padStart(2, '0');\r\n                    listTitle = fixDateStyle(dateFrom, dateTo);\r\n                }\r\n\r\n\r\n                var catSxolia = jQuery('#sxolia').is(':checked') ? 'sxolia' : '';\r\n                var catOik = jQuery('#oikogenies').is(':checked') ? 'oikogenies' : '';\r\n                var catKsen = jQuery('#ksenagiseis').is(':checked') ? 'ksenagiseis' : '';\r\n\r\n                \/\/ console.log('filters', date, dateFrom, dateTo, catSxolia, catOik, catKsen);\r\n\r\n                removeAllThumbs();\r\n\r\n                \/\/ case all empty = show all\r\n                if (\r\n                    date=='' &&\r\n                    dateFrom=='' &&\r\n                    dateTo=='' &&\r\n                    catSxolia=='' &&\r\n                    catOik=='' &&\r\n                    catKsen==''\r\n                ){\r\n                    draseis_data.forEach(function(currentDrasi, index){\r\n                        jQuery('.ctm-daily-events-loop').append(currentDrasi.html);\r\n                    });\r\n                    hideTheRest();\r\n\r\n                } else { \/\/ case have chosen something\r\n                    var cnt = 0;\r\n                    var cnt_more = 0;\r\n                    draseis_data.forEach(function(currentDrasi, index){\r\n                        cnt++;\r\n                        if (\r\n                                (\r\n                                    ( catSxolia!='' && currentDrasi.cats.includes(catSxolia) ) ||\r\n                                    ( catOik!='' && currentDrasi.cats.includes(catOik) ) ||\r\n                                    ( catKsen!='' && currentDrasi.cats.includes(catKsen) )\r\n                                ) && date =='' && dateFrom =='' && dateTo ==''\r\n                        ) {\r\n                            \/\/ \u03c3\u03ba\u03b5\u03c4\u03b5\u03c2 \u03ba\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b5\u03c2 - console.log('case 1');\r\n                            jQuery('.ctm-daily-events-loop').append(currentDrasi.html);\r\n                            var __str = cookItUp(catSxolia, catOik, catKsen);\r\n                            console.log(__str);\r\n                            listTitle = list_Titles[__str];\r\n\r\n                        }else if (\r\n                                (\r\n                                    ( catSxolia=='' && catOik=='' && catKsen=='' ) ||\r\n                                    ( catSxolia!='' && currentDrasi.cats.includes(catSxolia) ) ||\r\n                                    ( catOik!='' && currentDrasi.cats.includes(catOik) ) ||\r\n                                    ( catKsen!='' && currentDrasi.cats.includes(catKsen) )\r\n                                ) && date !='' && currentDrasi.dates.includes(date) && dateFrom =='' && dateTo ==''\r\n                        ) {\r\n                            \/\/ \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03bc\u03b1\u03b6\u03af \u03bc\u03b5 \u03ba\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b5\u03c2 - console.log('case 2');\r\n                            jQuery('.ctm-daily-events-loop').append(currentDrasi.html);\r\n\r\n                        }else if (\r\n                                (\r\n                                    ( catSxolia=='' && catOik=='' && catKsen=='' )||\r\n                                    ( catSxolia!='' && currentDrasi.cats.includes(catSxolia) ) ||\r\n                                    ( catOik!='' && currentDrasi.cats.includes(catOik) ) ||\r\n                                    ( catKsen!='' && currentDrasi.cats.includes(catKsen) )\r\n                                ) && date=='' && dateFrom !='' && dateTo !='' && is_in_dates(dateFrom, dateTo, currentDrasi.dates)\r\n                        ) {\r\n\r\n                            \/\/ \u03b1\u03c0\u03cc \u03ad\u03c9\u03c2 \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b5\u03c2 - console.log('case 3');\r\n                            jQuery('.ctm-daily-events-loop').append(currentDrasi.html);\r\n\r\n                        }else{\r\n                            \/\/ \u03c4\u03b9\u03c0\u03bf\u03c4\u03b1 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03bf - console.log('case else');\r\n                            cnt_more++;\r\n                            jQuery('.ctm-more-events-loop').append(currentDrasi.html);\r\n\r\n                        }\r\n                    });\r\n\r\n                    if (cnt_more>0) {\r\n                        showTheRest();\r\n                    }\r\n                    else hideTheRest();\r\n\r\n                    if (cnt == cnt_more){\r\n                        show_empty_text();\r\n                    }\r\n                }\r\n                setResultsTitle(listTitle);\r\n                jQuery('#calendar').removeClass('fade');\r\n            },600);\r\n\r\n        }\r\n\r\n        function removeAllThumbs(){\r\n            jQuery('.ctm-daily-events-loop').html('');\r\n            jQuery('.ctm-more-events-loop').html('');\r\n        }\r\n\r\n        function hideTheRest(){\r\n            if ( !jQuery('.the-rest').hasClass('hidden') ){\r\n                jQuery('.the-rest').addClass('hidden');\r\n            }\r\n        }\r\n\r\n        function showTheRest(){\r\n            if ( jQuery('.the-rest').hasClass('hidden') ){\r\n                jQuery('.the-rest').removeClass('hidden');\r\n            }\r\n        }\r\n\r\n        function resetFilters(){\r\n            jQuery('.filter-checkbox').prop('checked', false);\r\n            jQuery('.filter-radio').prop('checked', false);\r\n\r\n            dontRefresh = true;\r\n            jQuery('#calendar_date_chosen').val('');\r\n            datepicker.setDate({clear:true});\r\n\r\n            setCalendarActiveDates();\r\n            show_results() ;\r\n        }\r\n\r\n\r\n\r\n        function is_in_dates(dFrom, dTo, dAll){\r\n\r\n            if ( dAll.length==0 ) return false;;\r\n\r\n            const filter_dateFrom = new Date(dFrom);\r\n            const filter_dateTo = new Date(dTo);\r\n            const eventStartDate = new Date(dAll[0]);\r\n            const eventEndDate = new Date(dAll[dAll.length - 1]);\r\n\r\n            \/\/ console.log( dFrom , dTo , dAll );\r\n            \/\/ console.log( filter_dateFrom , eventEndDate , eventStartDate , filter_dateTo );\r\n            \/\/ console.log('----------------------' );\r\n\r\n\r\n            if ( filter_dateFrom < eventEndDate && eventStartDate < filter_dateTo ) {\r\n                return true;\r\n            }\r\n\r\n            return false;\r\n        }\r\n\r\n        function show_empty_text(){\r\n            jQuery('.ctm-daily-events-loop').append('<h5>No results found!<\/h5>');\r\n        }\r\n\r\n        function setResultsTitle(val){\r\n            jQuery('#loop-title').html(val);\r\n            console.log('setResultsTitle -> ' + val);\r\n        }\r\n\r\n        function setCalendarActiveDates(){\r\n            var _cases = [];\r\n            jQuery('.filter-checkbox').each(function(){\r\n                if ( jQuery(this).is(':checked') ) _cases[_cases.length] = jQuery(this).val();\r\n            });\r\n            var test_case = _cases.join('_');\r\n\r\n            switch (test_case) {\r\n                case 'sxolia':\r\n                    datepicker.setOptions({datesDisabled: exclusionArray_sxolia});\r\n                    break;\r\n                case 'oikogenies':\r\n                    datepicker.setOptions({datesDisabled: exclusionArray_oikogenies});\r\n                    break;\r\n                case 'ksenagiseis':\r\n                    datepicker.setOptions({datesDisabled: exclusionArray_ksenagiseis});\r\n                    break;\r\n                case 'sxolia_oikogenies':\r\n                    datepicker.setOptions({datesDisabled: intersect(exclusionArray_sxolia, exclusionArray_oikogenies)});\r\n                    break;\r\n                case 'sxolia_ksenagiseis':\r\n                    datepicker.setOptions({datesDisabled: intersect(exclusionArray_sxolia, exclusionArray_ksenagiseis)});\r\n                    break;\r\n\r\n                case 'oikogenies_ksenagiseis':\r\n                    datepicker.setOptions({datesDisabled: intersect(exclusionArray_oikogenies, exclusionArray_ksenagiseis)});\r\n                    break;\r\n\r\n                default:\r\n                    datepicker.setOptions({datesDisabled: exclusionArray});\r\n            }\r\n        }\r\n\r\n        function intersect(a, b) {\r\n            return a.filter(Set.prototype.has, new Set(b));\r\n        }\r\n\r\n        function cookItUp(a, b, c){\r\n            var total_String = '';\r\n\r\n            if (a!='') total_String += a;\r\n            if (b!='') total_String += b;\r\n            if (c!='') total_String += c;\r\n\r\n            return total_String;\r\n        }\r\n\r\n\r\n        function fixDateStyle(date1, date2 = ''){\r\n\r\n            let daysOfWeek = {};\r\n             daysOfWeek = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; \r\n\r\n            var date_fix = new Date(date1);\r\n            _day = date_fix.getDay()\r\n            _date = date_fix.getDate();\r\n            _month = date_fix.getMonth()+1;\r\n            _year = ('' +  date_fix.getFullYear()).substr(2); \r\n\r\n            if (date2==''){\r\n                return daysOfWeek[_day] + ', ' + _date + '\/' + _month + '\/' + _year;\r\n            }else{\r\n                var date_fix2 = new Date(date2);\r\n                _day2 = date_fix2.getDay()\r\n                _date2 = date_fix2.getDate();\r\n                _month2 = date_fix2.getMonth()+1;\r\n                _year2 = ('' + date_fix2.getFullYear()).substr(2);\r\n\r\n                return daysOfWeek[_day] + ', ' + _date + '\/' + _month + '\/' + _year + ' - ' +\r\n                       daysOfWeek[_day2] + ', ' + _date2 + '\/' + _month2 + '\/' + _year2;\r\n            }\r\n\r\n\r\n\r\n        }\r\n\r\n    <\/script>\r\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Event Calendar Homepage<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":10615,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-25729","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Events Calendar - Otemuseum<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Events Calendar - Otemuseum\" \/>\n<meta property=\"og:description\" content=\"Event Calendar Homepage\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/\" \/>\n<meta property=\"og:site_name\" content=\"Otemuseum\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-31T09:15:44+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/events-calendar\\\/\",\"url\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/events-calendar\\\/\",\"name\":\"Events Calendar - Otemuseum\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#website\"},\"datePublished\":\"2023-10-26T08:14:28+00:00\",\"dateModified\":\"2023-10-31T09:15:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/events-calendar\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/events-calendar\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/events-calendar\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Education\",\"item\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/education\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Events Calendar\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/\",\"name\":\"Otemuseum\",\"description\":\"otegroupmuseum\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#organization\",\"name\":\"Otemuseum\",\"url\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Museum-Logo.png\",\"contentUrl\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Museum-Logo.png\",\"width\":327,\"height\":66,\"caption\":\"Otemuseum\"},\"image\":{\"@id\":\"https:\\\/\\\/www.otegroupmuseum.gr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Events Calendar - Otemuseum","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/","og_locale":"en_US","og_type":"article","og_title":"Events Calendar - Otemuseum","og_description":"Event Calendar Homepage","og_url":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/","og_site_name":"Otemuseum","article_modified_time":"2023-10-31T09:15:44+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/","url":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/","name":"Events Calendar - Otemuseum","isPartOf":{"@id":"https:\/\/www.otegroupmuseum.gr\/en\/#website"},"datePublished":"2023-10-26T08:14:28+00:00","dateModified":"2023-10-31T09:15:44+00:00","breadcrumb":{"@id":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.otegroupmuseum.gr\/en\/education\/events-calendar\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.otegroupmuseum.gr\/en\/"},{"@type":"ListItem","position":2,"name":"Education","item":"https:\/\/www.otegroupmuseum.gr\/en\/education\/"},{"@type":"ListItem","position":3,"name":"Events Calendar"}]},{"@type":"WebSite","@id":"https:\/\/www.otegroupmuseum.gr\/en\/#website","url":"https:\/\/www.otegroupmuseum.gr\/en\/","name":"Otemuseum","description":"otegroupmuseum","publisher":{"@id":"https:\/\/www.otegroupmuseum.gr\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.otegroupmuseum.gr\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.otegroupmuseum.gr\/en\/#organization","name":"Otemuseum","url":"https:\/\/www.otegroupmuseum.gr\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.otegroupmuseum.gr\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.otegroupmuseum.gr\/wp-content\/uploads\/2021\/08\/Museum-Logo.png","contentUrl":"https:\/\/www.otegroupmuseum.gr\/wp-content\/uploads\/2021\/08\/Museum-Logo.png","width":327,"height":66,"caption":"Otemuseum"},"image":{"@id":"https:\/\/www.otegroupmuseum.gr\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/pages\/25729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/comments?post=25729"}],"version-history":[{"count":4,"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/pages\/25729\/revisions"}],"predecessor-version":[{"id":25737,"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/pages\/25729\/revisions\/25737"}],"up":[{"embeddable":true,"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/pages\/10615"}],"wp:attachment":[{"href":"https:\/\/www.otegroupmuseum.gr\/en\/wp-json\/wp\/v2\/media?parent=25729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}