CCCPaste

6ce3c8496096e

const bodyStyle = document.body.style;

function setImage(url) {
    bodyStyle.backgroundImage = "url('" + url + "')";
}

switch (new Date().getMonth()) {
    case 5: // Just to test for now
        setImage('/images/topwwbackground.gif');
        break;
    case 9:
        setImage('/images/halloween_background_1.gif');
        break;
    case 11:
        setImage('/images/christmas.gif');
        break;
}