var validdates = [ { "Date": "2024-04-24", "Month": 4, "Day": 24, "ProductCount": "3件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240424/comiket_deadline_to:20240424" }, { "Date": "2024-04-26", "Month": 4, "Day": 26, "ProductCount": "2件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240426/comiket_deadline_to:20240426" }, { "Date": "2024-05-02", "Month": 5, "Day": 2, "ProductCount": "5件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240502/comiket_deadline_to:20240502" }, { "Date": "2024-05-10", "Month": 5, "Day": 10, "ProductCount": "12件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240510/comiket_deadline_to:20240510" }, { "Date": "2024-05-13", "Month": 5, "Day": 13, "ProductCount": "10件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240513/comiket_deadline_to:20240513" }, { "Date": "2024-05-17", "Month": 5, "Day": 17, "ProductCount": "4件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240517/comiket_deadline_to:20240517" }, { "Date": "2024-05-20", "Month": 5, "Day": 20, "ProductCount": "11件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240520/comiket_deadline_to:20240520" }, { "Date": "2024-05-22", "Month": 5, "Day": 22, "ProductCount": "2件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240522/comiket_deadline_to:20240522" }, { "Date": "2024-05-24", "Month": 5, "Day": 24, "ProductCount": "16件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240524/comiket_deadline_to:20240524" }, { "Date": "2024-05-27", "Month": 5, "Day": 27, "ProductCount": "51件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240527/comiket_deadline_to:20240527" }, { "Date": "2024-05-28", "Month": 5, "Day": 28, "ProductCount": "1件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240528/comiket_deadline_to:20240528" }, { "Date": "2024-05-29", "Month": 5, "Day": 29, "ProductCount": "5件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240529/comiket_deadline_to:20240529" }, { "Date": "2024-05-30", "Month": 5, "Day": 30, "ProductCount": "16件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240530/comiket_deadline_to:20240530" }, { "Date": "2024-05-31", "Month": 5, "Day": 31, "ProductCount": "23件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240531/comiket_deadline_to:20240531" }, { "Date": "2024-06-03", "Month": 6, "Day": 3, "ProductCount": "188件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240603/comiket_deadline_to:20240603" }, { "Date": "2024-06-04", "Month": 6, "Day": 4, "ProductCount": "49件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240604/comiket_deadline_to:20240604" }, { "Date": "2024-06-05", "Month": 6, "Day": 5, "ProductCount": "16件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240605/comiket_deadline_to:20240605" }, { "Date": "2024-06-06", "Month": 6, "Day": 6, "ProductCount": "12件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240606/comiket_deadline_to:20240606" }, { "Date": "2024-06-07", "Month": 6, "Day": 7, "ProductCount": "16件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240607/comiket_deadline_to:20240607" }, { "Date": "2024-06-10", "Month": 6, "Day": 10, "ProductCount": "31件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240610/comiket_deadline_to:20240610" }, { "Date": "2024-06-11", "Month": 6, "Day": 11, "ProductCount": "78件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240611/comiket_deadline_to:20240611" }, { "Date": "2024-06-12", "Month": 6, "Day": 12, "ProductCount": "10件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240612/comiket_deadline_to:20240612" }, { "Date": "2024-06-13", "Month": 6, "Day": 13, "ProductCount": "3件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240613/comiket_deadline_to:20240613" }, { "Date": "2024-06-17", "Month": 6, "Day": 17, "ProductCount": "15件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240617/comiket_deadline_to:20240617" }, { "Date": "2024-06-18", "Month": 6, "Day": 18, "ProductCount": "14件", "URL": "https://goods.ryokuyou.co.jp/search/comiket_deadline_from:20240618/comiket_deadline_to:20240618" } ] $(document).ready(function () { var event1 = "Sun Jun 30 2024"; var event2 = "Sun Jun 30 2024"; var eventname1 = "JUNE BRIDE FES 2024"; var eventname2 = "JUNE BRIDE FES 2024"; function createMonth(month, year) { var monthElement = document.createElement("div"); monthElement.className = "dp-month"; monthElement.innerHTML = "