var questCalendarDict = {
1: '
<a href="/wiki/Gold_rush" title="Gold rush" bis_skin_checked="1">Gold rush</a>
Required level: 10
' +
'
<a href="/wiki/Gold_rush_(repeatable)" title="Gold rush (repeatable)" bis_skin_checked="1">Gold rush (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/The_provincial_doctor" title="The provincial doctor" bis_skin_checked="1">The provincial doctor</a>
Required level: 10
' +
'
<a href="/wiki/The_provincial_doctor_(repeatable)" title="The provincial doctor (repeatable)" bis_skin_checked="1">The provincial doctor (repeatable)</a>
Required level: 10
',
2: '
<a href="/wiki/The_provincial_doctor" title="The provincial doctor" bis_skin_checked="1">The provincial doctor</a>
Required level: 10
' +
'
<a href="/wiki/The_provincial_doctor_(repeatable)" title="The provincial doctor (repeatable)" bis_skin_checked="1">The provincial doctor (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/First_winter" title="First winter" bis_skin_checked="1">First winter</a>
Required level: 40
' +
'
<a href="/wiki/The_snowstorm" title="The snowstorm" bis_skin_checked="1">The snowstorm</a>
Required level: 25
' +
'
<a href="/wiki/Unusual_winter_sport" title="Unusual winter sport" bis_skin_checked="1">Unusual winter sport</a>
Required level: 25
' +
'
<a href="/index.php?title=Winter_Competitions&action=edit&redlink=1" class="new" title="Winter Competitions (page does not exist)" bis_skin_checked="1">Winter Competitions</a>
Required level: 40
' +
'
<a href="/wiki/Together_%27til_the_end!" title="Together \'til the end!" bis_skin_checked="1">Together \'til the end!</a>
Required level: 45
' +
'
<a href="/wiki/Valentine%27s_Day" title="Valentine\'s Day" bis_skin_checked="1">Valentine\'s Day</a>
Required level: 10
' +
'
<a href="/wiki/Valentine%27s_Day_(repeatable)" title="Valentine\'s Day (repeatable)" bis_skin_checked="1">Valentine\'s Day (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/One_foolish_Romeo_(repeatable)" title="One foolish Romeo (repeatable)" bis_skin_checked="1">One foolish Romeo (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/One_foolish_Romeo" title="One foolish Romeo" bis_skin_checked="1">One foolish Romeo</a>
Required level: 10
' +
'
<a href="/wiki/Love_is_in_the_air_(repeatable)" title="Love is in the air (repeatable)" bis_skin_checked="1">Love is in the air (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Angus%27_love" title="Angus\' love" bis_skin_checked="1">Angus\' love</a>
Required level: 40
' +
'
<a href="/wiki/Gone_with_the_Valentine%27s_Day" title="Gone with the Valentine\'s Day" bis_skin_checked="1">Gone with the Valentine\'s Day</a>
Required level: 10
' +
'
<a href="/wiki/Gone_with_the_Valentine%27s_Day_(repeatable)" title="Gone with the Valentine\'s Day (repeatable)" bis_skin_checked="1">Gone with the Valentine\'s Day (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Love_is_in_the_air" title="Love is in the air" bis_skin_checked="1">Love is in the air</a>
Required level: 10
' +
'
<a href="/index.php?title=Maya%27s_fianc%C3%A9&action=edit&redlink=1" class="new" title="Maya\'s fiancé (page does not exist)" bis_skin_checked="1">Maya\'s fiancé</a>
Required level: 30
' +
'
<a href="/wiki/Secret_Love" title="Secret Love" bis_skin_checked="1">Secret Love</a>
Required level: 8
' +
'
<a href="/wiki/The_ties_that_bind" title="The ties that bind" bis_skin_checked="1">The ties that bind</a>
Required level: 119
' +
'
<a href="/wiki/Tombstone_love_story" title="Tombstone love story" bis_skin_checked="1">Tombstone love story</a>
Required level: 80
',
3: '
<a href="/wiki/The_provincial_doctor" title="The provincial doctor" bis_skin_checked="1">The provincial doctor</a>
Required level: 10
' +
'
<a href="/wiki/The_provincial_doctor_(repeatable)" title="The provincial doctor (repeatable)" bis_skin_checked="1">The provincial doctor (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Together_%27til_the_end!" title="Together \'til the end!" bis_skin_checked="1">Together \'til the end!</a>
Required level: 45
' +
'
<a href="/wiki/One_foolish_Romeo_(repeatable)" title="One foolish Romeo (repeatable)" bis_skin_checked="1">One foolish Romeo (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/One_foolish_Romeo" title="One foolish Romeo" bis_skin_checked="1">One foolish Romeo</a>
Required level: 10
' +
'
<a href="/wiki/Love_is_in_the_air_(repeatable)" title="Love is in the air (repeatable)" bis_skin_checked="1">Love is in the air (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Angus%27_love" title="Angus\' love" bis_skin_checked="1">Angus\' love</a>
Required level: 40
' +
'
<a href="/wiki/Gone_with_the_Valentine%27s_Day" title="Gone with the Valentine\'s Day" bis_skin_checked="1">Gone with the Valentine\'s Day</a>
Required level: 10
' +
'
<a href="/wiki/Gone_with_the_Valentine%27s_Day_(repeatable)" title="Gone with the Valentine\'s Day (repeatable)" bis_skin_checked="1">Gone with the Valentine\'s Day (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Love_is_in_the_air" title="Love is in the air" bis_skin_checked="1">Love is in the air</a>
Required level: 10
' +
'
<a href="/index.php?title=Maya%27s_fianc%C3%A9&action=edit&redlink=1" class="new" title="Maya\'s fiancé (page does not exist)" bis_skin_checked="1">Maya\'s fiancé</a>
Required level: 30
' +
'
<a href="/wiki/Secret_Love" title="Secret Love" bis_skin_checked="1">Secret Love</a>
Required level: 8
' +
'
<a href="/wiki/The_ties_that_bind" title="The ties that bind" bis_skin_checked="1">The ties that bind</a>
Required level: 119
' +
'
<a href="/wiki/Tombstone_love_story" title="Tombstone love story" bis_skin_checked="1">Tombstone love story</a>
Required level: 80
' +
'
<a href="/wiki/Carnival_in_the_Wild_West" title="Carnival in the Wild West" bis_skin_checked="1">Carnival in the Wild West</a>
Required level: 8
' +
'
<a href="/wiki/Burning_spirits_of_the_past!" title="Burning spirits of the past!" bis_skin_checked="1">Burning spirits of the past!</a>
Required level: 66
' +
'
<a href="/wiki/Gold_coins" title="Gold coins" bis_skin_checked="1">Gold coins</a>
Required level: 15
' +
'
<a href="/index.php?title=New_%C3%89ire_items&action=edit&redlink=1" class="new" title="New Éire items (page does not exist)" bis_skin_checked="1">New Éire items</a>
Required level: 15
' +
'
<a href="/wiki/St._Patrick_2021" title="St. Patrick 2021" bis_skin_checked="1">St. Patrick 2021</a>
Required level: 35
' +
'
<a href="/wiki/Brewing_Bad" title="Brewing Bad" bis_skin_checked="1">Brewing Bad</a>
Required level: 35
' +
'
<a href="/wiki/Brewing_Bad_(repeatable)" title="Brewing Bad (repeatable)" bis_skin_checked="1">Brewing Bad (repeatable)</a>
Required level: 35
' +
'
<a href="/wiki/A_new_egg-hunting_tradition" title="A new egg-hunting tradition" bis_skin_checked="1">A new egg-hunting tradition</a>
Required level: 30
' +
'
<a href="/wiki/Easter_basket" title="Easter basket" bis_skin_checked="1">Easter basket</a>
Required level: 8
' +
'
<a href="/wiki/Easter_basket_(repeatable)" title="Easter basket (repeatable)" bis_skin_checked="1">Easter basket (repeatable)</a>
Required level: 1
' +
'
<a href="/wiki/Easter_breakfast" title="Easter breakfast" bis_skin_checked="1">Easter breakfast</a>
Required level: 33
' +
'
<a href="/wiki/Easter_Egg_Hunt" title="Easter Egg Hunt" bis_skin_checked="1">Easter Egg Hunt</a>
Required level: 8
' +
'
<a href="/wiki/Ringo_is_in_the_Town" title="Ringo is in the Town" bis_skin_checked="1">Ringo is in the Town</a>
Required level: 110
' +
'
<a href="/wiki/The_new_train_station" title="The new train station" bis_skin_checked="1">The new train station</a>
Required level: 75
',
4: '
<a href="/wiki/Burning_spirits_of_the_past!" title="Burning spirits of the past!" bis_skin_checked="1">Burning spirits of the past!</a>
Required level: 66
' +
'
<a href="/wiki/Gold_coins" title="Gold coins" bis_skin_checked="1">Gold coins</a>
Required level: 15
' +
'
<a href="/wiki/Brewing_Bad_(repeatable)" title="Brewing Bad (repeatable)" bis_skin_checked="1">Brewing Bad (repeatable)</a>
Required level: 35
' +
'
<a href="/wiki/A_new_egg-hunting_tradition" title="A new egg-hunting tradition" bis_skin_checked="1">A new egg-hunting tradition</a>
Required level: 30
' +
'
<a href="/wiki/Easter_basket" title="Easter basket" bis_skin_checked="1">Easter basket</a>
Required level: 8
' +
'
<a href="/wiki/Easter_basket_(repeatable)" title="Easter basket (repeatable)" bis_skin_checked="1">Easter basket (repeatable)</a>
Required level: 1
' +
'
<a href="/wiki/Easter_breakfast" title="Easter breakfast" bis_skin_checked="1">Easter breakfast</a>
Required level: 33
' +
'
<a href="/wiki/Easter_Egg_Hunt" title="Easter Egg Hunt" bis_skin_checked="1">Easter Egg Hunt</a>
Required level: 8
' +
'
<a href="/wiki/Ringo_is_in_the_Town" title="Ringo is in the Town" bis_skin_checked="1">Ringo is in the Town</a>
Required level: 110
' +
'
<a href="/wiki/The_new_train_station" title="The new train station" bis_skin_checked="1">The new train station</a>
Required level: 75
' +
'
<a href="/wiki/A_strange_animal" title="A strange animal" bis_skin_checked="1">A strange animal</a>
Required level: 8
' +
'
<a href="/wiki/April" title="April" bis_skin_checked="1">April</a>
Required level: 31
' +
'
<a href="/wiki/Crafting_2.0" title="Crafting 2.0" bis_skin_checked="1">Crafting 2.0</a>
Required level: 20
' +
'
<a href="/wiki/The_easter_egg" title="The easter egg" bis_skin_checked="1">The easter egg</a>
Required level: 8
' +
'
<a href="/wiki/Easter" title="Easter" bis_skin_checked="1">Easter</a>
Required level: 15
' +
'
<a href="/wiki/Easter_(repeatable)" title="Easter (repeatable)" bis_skin_checked="1">Easter (repeatable)</a>
Required level: 15
' +
'
<a href="/wiki/Finding_Mr._Easter_Bunny" title="Finding Mr. Easter Bunny" bis_skin_checked="1">Finding Mr. Easter Bunny</a>
Required level: 10
' +
'
<a href="/wiki/Crafting_mini-event" title="Crafting mini-event" bis_skin_checked="1">Crafting mini-event</a>
Required level: 20
' +
'
<a href="/wiki/The_cake_baking_event" title="The cake baking event" bis_skin_checked="1">The cake baking event</a>
Required level: 20
' +
'
<a href="/wiki/The_history_of_The_West" title="The history of The West" bis_skin_checked="1">The history of The West</a>
Required level: 10
' +
'
<a href="/wiki/The_West_12_anniversary" title="The West 12 anniversary" bis_skin_checked="1">The West 12 anniversary</a>
Required level: 10
' +
'
<a href="/wiki/The_West_has_a_birthday!" title="The West has a birthday!" bis_skin_checked="1">The West has a birthday!</a>
Required level: 10
' +
'
<a href="/wiki/The_West_has_a_birthday!_(repeatable)" title="The West has a birthday! (repeatable)" bis_skin_checked="1">The West has a birthday! (repeatable)</a>
Required level: 10
',
5: '
<a href="/wiki/Crafting_mini-event" title="Crafting mini-event" bis_skin_checked="1">Crafting mini-event</a>
Required level: 20
' +
'
<a href="/wiki/The_cake_baking_event" title="The cake baking event" bis_skin_checked="1">The cake baking event</a>
Required level: 20
' +
'
<a href="/wiki/The_history_of_The_West" title="The history of The West" bis_skin_checked="1">The history of The West</a>
Required level: 10
' +
'
<a href="/wiki/The_West_12_anniversary" title="The West 12 anniversary" bis_skin_checked="1">The West 12 anniversary</a>
Required level: 10
' +
'
<a href="/wiki/The_West_has_a_birthday!" title="The West has a birthday!" bis_skin_checked="1">The West has a birthday!</a>
Required level: 10
' +
'
<a href="/wiki/The_West_has_a_birthday!_(repeatable)" title="The West has a birthday! (repeatable)" bis_skin_checked="1">The West has a birthday! (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Anti_diet_week" title="Anti diet week" bis_skin_checked="1">Anti diet week</a>
Required level: 10
' +
'
<a href="/wiki/Anti_diet_week_(repeatable)" title="Anti diet week (repeatable)" bis_skin_checked="1">Anti diet week (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/Contest_for_an_innovative_dessert" title="Contest for an innovative dessert" bis_skin_checked="1">Contest for an innovative dessert</a>
Required level: 20
' +
'
<a href="/wiki/Cooperation_pays_off" title="Cooperation pays off" bis_skin_checked="1">Cooperation pays off</a>
Required level: 40
' +
'
<a href="/wiki/Attack_of_the_Wogons" title="Attack of the Wogons" bis_skin_checked="1">Attack of the Wogons</a>
Required level: 10
',
6: '
<a href="/wiki/Contest_for_an_innovative_dessert" title="Contest for an innovative dessert" bis_skin_checked="1">Contest for an innovative dessert</a>
Required level: 20
' +
'
<a href="/wiki/Cooperation_pays_off" title="Cooperation pays off" bis_skin_checked="1">Cooperation pays off</a>
Required level: 40
' +
'
<a href="/wiki/Became_a_referee" title="Became a referee" bis_skin_checked="1">Became a referee</a>
Required level: 20
' +
'
<a href="/wiki/Christopher%27s_parade" title="Christopher\'s parade" bis_skin_checked="1">Christopher\'s parade</a>
Required level: 10
' +
'
<a href="/wiki/Christopher%27s_parade_(repeatable)" title="Christopher\'s parade (repeatable)" bis_skin_checked="1">Christopher\'s parade (repeatable)</a>
Required level: 10
',
7: '
<a href="/wiki/Independence_Day" title="Independence Day" bis_skin_checked="1">Independence Day</a>
Required level: 15
' +
'
<a href="/wiki/Independence_Day_(repeatable)" title="Independence Day (repeatable)" bis_skin_checked="1">Independence Day (repeatable)</a>
Required level: 15
' +
'
<a href="/wiki/West_Point" title="West Point" bis_skin_checked="1">West Point</a>
Required level: 8
' +
'
<a href="/wiki/Independence_Day_preparations" title="Independence Day preparations" bis_skin_checked="1">Independence Day preparations</a>
Required level: 20
' +
'
<a href="/wiki/A_dream_about_the_war" title="A dream about the war" bis_skin_checked="1">A dream about the war</a>
Required level: 8
' +
'
<a href="/wiki/The_Independence_Day_parade" title="The Independence Day parade" bis_skin_checked="1">The Independence Day parade</a>
Required level: 10
' +
'
<a href="/wiki/Time_for_tea" title="Time for tea" bis_skin_checked="1">Time for tea</a>
Required level: 25
' +
'
<a href="/wiki/Paul_The_Great_Paladin" title="Paul The Great Paladin" bis_skin_checked="1">Paul The Great Paladin</a>
Required level: 35
' +
'
<a href="/wiki/Friendship_week" title="Friendship week" bis_skin_checked="1">Friendship week</a>
Required level: 10
' +
'
<a href="/wiki/Friendship_week_(repeatable)" title="Friendship week (repeatable)" bis_skin_checked="1">Friendship week (repeatable)</a>
Required level: 10
',
8: '
<a href="/wiki/Friendship_week" title="Friendship week" bis_skin_checked="1">Friendship week</a>
Required level: 10
' +
'
<a href="/wiki/Friendship_week_(repeatable)" title="Friendship week (repeatable)" bis_skin_checked="1">Friendship week (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/A_pawful_of_kittens" title="A pawful of kittens" bis_skin_checked="1">A pawful of kittens</a>
Required level: 10
' +
'
<a href="/wiki/A_pawful_of_kittens_(repeatable)" title="A pawful of kittens (repeatable)" bis_skin_checked="1">A pawful of kittens (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/The_Colcord_story" title="The Colcord story" bis_skin_checked="1">The Colcord story</a>
Required level: 8
' +
'
<a href="/wiki/Henry_on_vacation" title="Henry on vacation" bis_skin_checked="1">Henry on vacation</a>
Required level: 51
' +
'
<a href="/wiki/Labor_Day" title="Labor Day" bis_skin_checked="1">Labor Day</a>
Required level: 10
' +
'
<a href="/wiki/Labor_Day_(repeatable)" title="Labor Day (repeatable)" bis_skin_checked="1">Labor Day (repeatable)</a>
Required level: 10
',
9: '
<a href="/wiki/The_Colcord_story" title="The Colcord story" bis_skin_checked="1">The Colcord story</a>
Required level: 8
' +
'
<a href="/wiki/Labor_Day" title="Labor Day" bis_skin_checked="1">Labor Day</a>
Required level: 10
' +
'
<a href="/wiki/Labor_Day_(repeatable)" title="Labor Day (repeatable)" bis_skin_checked="1">Labor Day (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/The_Mountain_Farmer_and_the_Shepherdess" title="The Mountain Farmer and the Shepherdess" bis_skin_checked="1">The Mountain Farmer and the Shepherdess</a>
Required level: 48
' +
'
<a href="/wiki/Oktoberfest_2021" title="Oktoberfest 2021" bis_skin_checked="1">Oktoberfest 2021</a>
Required level: 50
' +
'
<a href="/wiki/Oktoberfest_is_coming" title="Oktoberfest is coming" bis_skin_checked="1">Oktoberfest is coming</a>
Required level: 8
' +
'
<a href="/wiki/Oktoberfest_is_coming_(repeatable)" title="Oktoberfest is coming (repeatable)" bis_skin_checked="1">Oktoberfest is coming (repeatable)</a>
Required level: 8
' +
'
<a href="/wiki/A_Shipment_from_Germany" title="A Shipment from Germany" bis_skin_checked="1">A Shipment from Germany</a>
Required level: 45
' +
'
<a href="/wiki/Save_Oktoberfest" title="Save Oktoberfest" bis_skin_checked="1">Save Oktoberfest</a>
Required level: 69
',
10: '
<a href="/wiki/The_Mountain_Farmer_and_the_Shepherdess" title="The Mountain Farmer and the Shepherdess" bis_skin_checked="1">The Mountain Farmer and the Shepherdess</a>
Required level: 48
' +
'
<a href="/wiki/Oktoberfest_2021" title="Oktoberfest 2021" bis_skin_checked="1">Oktoberfest 2021</a>
Required level: 50
' +
'
<a href="/wiki/Oktoberfest_is_coming" title="Oktoberfest is coming" bis_skin_checked="1">Oktoberfest is coming</a>
Required level: 8
' +
'
<a href="/wiki/Oktoberfest_is_coming_(repeatable)" title="Oktoberfest is coming (repeatable)" bis_skin_checked="1">Oktoberfest is coming (repeatable)</a>
Required level: 8
' +
'
<a href="/wiki/A_Shipment_from_Germany" title="A Shipment from Germany" bis_skin_checked="1">A Shipment from Germany</a>
Required level: 45
' +
'
<a href="/wiki/Save_Oktoberfest" title="Save Oktoberfest" bis_skin_checked="1">Save Oktoberfest</a>
Required level: 69
' +
'
<a href="/wiki/The_Wright_brothers" title="The Wright brothers" bis_skin_checked="1">The Wright brothers</a>
Required level: 8
' +
'
<a href="/wiki/Giant_of_the_land" title="Giant of the land" bis_skin_checked="1">Giant of the land</a>
Required level: 58
' +
'
<a href="/wiki/Giant_of_the_ocean" title="Giant of the ocean" bis_skin_checked="1">Giant of the ocean</a>
Required level: 105
' +
'
<a href="/wiki/The_first_cowgirl" title="The first cowgirl" bis_skin_checked="1">The first cowgirl</a>
Required level: 32
' +
'
<a href="/wiki/The_Headless_Horseman" title="The Headless Horseman" bis_skin_checked="1">The Headless Horseman</a>
Required level: 8
' +
'
<a href="/wiki/Halloween" title="Halloween" bis_skin_checked="1">Halloween</a>
Required level: 12
' +
'
<a href="/wiki/A_Western_Nightmare_(repeatable)" title="A Western Nightmare (repeatable)" bis_skin_checked="1">A Western Nightmare (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/A_Western_Nightmare" title="A Western Nightmare" bis_skin_checked="1">A Western Nightmare</a>
Required level: 10
' +
'
<a href="/wiki/Ron%27s_visit" title="Ron\'s visit" bis_skin_checked="1">Ron\'s visit</a>
Required level: 40
' +
'
<a href="/wiki/Halloween" title="Halloween" bis_skin_checked="1">Halloween</a>
Required level: 12
' +
'
<a href="/wiki/Halloween_(repeatable)" title="Halloween (repeatable)" bis_skin_checked="1">Halloween (repeatable)</a>
Required level: 12
',
11: '
<a href="/wiki/The_Wright_brothers" title="The Wright brothers" bis_skin_checked="1">The Wright brothers</a>
Required level: 8
' +
'
<a href="/wiki/Giant_of_the_land" title="Giant of the land" bis_skin_checked="1">Giant of the land</a>
Required level: 58
' +
'
<a href="/wiki/Giant_of_the_ocean" title="Giant of the ocean" bis_skin_checked="1">Giant of the ocean</a>
Required level: 105
' +
'
<a href="/wiki/The_first_cowgirl" title="The first cowgirl" bis_skin_checked="1">The first cowgirl</a>
Required level: 32
' +
'
<a href="/wiki/The_Headless_Horseman" title="The Headless Horseman" bis_skin_checked="1">The Headless Horseman</a>
Required level: 8
' +
'
<a href="/wiki/Halloween" title="Halloween" bis_skin_checked="1">Halloween</a>
<a href="/index.php?title=Special:Upload&wpDestFile=.png" class="new" title="File:.png" bis_skin_checked="1">File:.png</a>
Required level:
' +
'
<a href="/wiki/A_Western_Nightmare_(repeatable)" title="A Western Nightmare (repeatable)" bis_skin_checked="1">A Western Nightmare (repeatable)</a>
Required level: 10
' +
'
<a href="/wiki/A_Western_Nightmare" title="A Western Nightmare" bis_skin_checked="1">A Western Nightmare</a>
Required level: 10
' +
'
<a href="/wiki/Ron%27s_visit" title="Ron\'s visit" bis_skin_checked="1">Ron\'s visit</a>
Required level: 40
' +
'
<a href="/wiki/Halloween" title="Halloween" bis_skin_checked="1">Halloween</a>
Required level: 12
' +
'
<a href="/wiki/Halloween_(repeatable)" title="Halloween (repeatable)" bis_skin_checked="1">Halloween (repeatable)</a>
Required level: 12
' +
'
<a href="/wiki/Celebrating_life" title="Celebrating life" bis_skin_checked="1">Celebrating life</a>
Required level: 22
' +
'
<a href="/wiki/Something_strange_is_happening" title="Something strange is happening" bis_skin_checked="1">Something strange is happening</a>
Required level: 27
' +
'
<a href="/wiki/The_perfect_heist" title="The perfect heist" bis_skin_checked="1">The perfect heist</a>
Required level: 50
' +
'
<a href="/wiki/The_perfect_heist_(repeatable)" title="The perfect heist (repeatable)" bis_skin_checked="1">The perfect heist (repeatable)</a>
Required level: 50
' +
'
<a href="/wiki/Thanksgiving" title="Thanksgiving" bis_skin_checked="1">Thanksgiving</a>
Required level: 15
' +
'
<a href="/wiki/Thanksgiving_(repeatable)" title="Thanksgiving (repeatable)" bis_skin_checked="1">Thanksgiving (repeatable)</a>
Required level: 15
' +
'
<a href="/wiki/Western_Friday" title="Western Friday" bis_skin_checked="1">Western Friday</a>
Required level: 8
',
12: '
<a href="/wiki/The_perfect_heist" title="The perfect heist" bis_skin_checked="1">The perfect heist</a>
Required level: 50
' +
'
<a href="/wiki/The_perfect_heist_(repeatable)" title="The perfect heist (repeatable)" bis_skin_checked="1">The perfect heist (repeatable)</a>
Required level: 50
' +
'
<a href="/wiki/Western_Friday" title="Western Friday" bis_skin_checked="1">Western Friday</a>
Required level: 8
' +
'
<a href="/wiki/Magic_World" title="Magic World" bis_skin_checked="1">Magic World</a>
Required level: 38
' +
'
<a href="/wiki/Christmas" title="Christmas" bis_skin_checked="1">Christmas</a>
Required level: 15
' +
'
<a href="/wiki/Christmas_(repeatable)" title="Christmas (repeatable)" bis_skin_checked="1">Christmas (repeatable)</a>
Required level: 15
' +
'
<a href="/wiki/Santa%27s_companions" title="Santa\'s companions" bis_skin_checked="1">Santa\'s companions</a>
Required level: 70
',
};
(function($) {
$(document).ready(function() {
var now = new Date();
var currentMonth = now.getMonth() + 1;
var currentYear = now.getFullYear();
var currentMonthDiv = document.getElementById("current-month");
var nextMonthDiv = document.getElementById("next-month");
if (currentMonthDiv && nextMonthDiv) {
currentMonthDiv.innerHTML = getMonthName(currentMonth);
var nextMonth = currentMonth + 1;
var nextMonthYear = currentYear;
if (nextMonth > 12) {
nextMonth = 1;
nextMonthYear++;
}
nextMonthDiv.innerHTML = getMonthName(nextMonth);
}
function getMonthName(month) {
var monthNames = [
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
return monthNames[month - 1];
}
// Get the quests for the current month and next month from the questCalendarDict
var currentMonthQuests = questCalendarDict[currentMonth];
var nextMonthQuests = questCalendarDict[currentMonth + 1];
if (currentMonthQuests) {
loadQuests(currentMonthQuests, "#current-month-quests");
}
if (nextMonthQuests) {
loadQuests(nextMonthQuests, "#next-month-quests");
}
function loadQuests(questsString, container) {
// Split the quests string into an array of quest strings
var questStrings = questsString.split("\n");
for (var i = 0; i < questStrings.length; i++) {
var quest = questStrings[i];
$(container).append(quest);
}
}
// Loop through all the quest elements
$('.info').each(function() {
// Get the start and end dates from the quest element
var startDateStr = $(this).find('.popup_txtred').text().match(/From:\s*([\d\/\s:]+)/)[1];
var endDateStr = $(this).find('.popup_txtred').text().match(/Until:\s*([\d\/\s:]+)/)[1];
// Check if the current date is within the quest's start and end dates
var startDate = new Date(startTimestamp * 1000);
var endDate = new Date(endTimestamp * 1000);
var currentDate = new Date();
if (currentDate >= startDate && currentDate <= endDate) {
// Change the class of the span element to popup_txtgreen
$(quest).find(".popup_txtred span").removeClass("popup_txtred").addClass("popup_txtgreen");
}
});
});
})(jQuery);