2024-06-25 21:37:57 +00:00
|
|
|
(function () {
|
|
|
|
const bodyStyle = document.body.style;
|
2024-06-25 21:23:54 +00:00
|
|
|
|
2024-06-25 21:37:57 +00:00
|
|
|
function setImage(url) {
|
|
|
|
bodyStyle.backgroundImage = "url('" + url + "')";
|
|
|
|
}
|
2024-06-25 21:23:54 +00:00
|
|
|
|
2024-06-25 21:37:57 +00:00
|
|
|
switch (new Date().getMonth()) {
|
|
|
|
case 0:
|
|
|
|
setImage('/images/jwsfp1.gif');
|
|
|
|
break;
|
2024-06-26 00:17:41 +00:00
|
|
|
case 1:
|
|
|
|
setImage('/images/outofthedarknessbkgtile.gif');
|
|
|
|
break;
|
|
|
|
case 2:
|
2024-06-25 21:37:57 +00:00
|
|
|
setImage('/images/background2.gif');
|
|
|
|
break;
|
|
|
|
case 9:
|
|
|
|
setImage('/images/halloween_background_1.gif');
|
|
|
|
break;
|
|
|
|
case 10:
|
|
|
|
setImage('/images/topwwbackground.gif');
|
|
|
|
break;
|
|
|
|
case 11:
|
|
|
|
setImage('/images/christmas.gif');
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
})();
|