<div class="container">
<div id="mainwrap" class="col-md-8 col-md-offset-2 text-center">
<svg id="xmasimg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="150" width="150" style="fill: currentColor;color:#ffffff;">
<g><path d="m21.82 21.8 -1.08 -1.27a0.25 0.25 0 0 1 0 -0.33 12 12 0 1 0 -17.49 0 0.25 0.25 0 0 1 0 0.33L2.18 21.8l-0.08 0.13a1.47 1.47 0 0 0 0.13 1.38 1.58 1.58 0 0 0 1.31 0.69h16.92a1.55 1.55 0 0 0 1.31 -0.69 1.42 1.42 0 0 0 0.13 -1.38 0.31 0.31 0 0 0 -0.08 -0.13Zm-9.82 -3a2.5 2.5 0 1 1 2.5 -2.5 2.5 2.5 0 0 1 -2.5 2.53Zm-1.5 -8.5a1.5 1.5 0 1 1 1.5 1.5 1.5 1.5 0 0 1 -1.5 -1.47Zm7.77 9.45a0.3 0.3 0 0 1 -0.16 0h-2.67a0.25 0.25 0 0 1 -0.23 -0.15 0.26 0.26 0 0 1 0 -0.27 4.42 4.42 0 0 0 1.25 -3.08 4.25 4.25 0 0 0 -0.17 -1.25 0.26 0.26 0 0 1 0.13 -0.3l1 -0.51a1 1 0 0 0 -0.9 -1.79l-1.23 0.62A0.26 0.26 0 0 1 15 13l-0.24 -0.2a0.27 0.27 0 0 1 -0.1 -0.17 0.25 0.25 0 0 1 0.06 -0.18 3.47 3.47 0 0 0 0.74 -2.14 3.5 3.5 0 1 0 -7 0 3.47 3.47 0 0 0 0.74 2.14 0.25 0.25 0 0 1 0.06 0.18 0.27 0.27 0 0 1 -0.1 0.17L9 13a0.26 0.26 0 0 1 -0.28 0l-1.23 -0.62a1 1 0 0 0 -1.34 0.45 1 1 0 0 0 0.44 1.34l1 0.51a0.26 0.26 0 0 1 0.13 0.3 4.25 4.25 0 0 0 -0.21 1.29 4.42 4.42 0 0 0 1.25 3.08 0.26 0.26 0 0 1 0 0.27 0.25 0.25 0 0 1 -0.23 0.15H5.8a10 10 0 1 1 12.47 0Z" stroke-width="1"></path><path d="M3.16 10a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M5.44 6.71a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M8.84 4.47a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M18.67 10.03a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M16.39 6.74a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M12.98 4.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path></g>
</svg>
<div id="sleeps" class="sleep-number">-</div>
<div id="text" class="sleep-text">Sleeps Until Christmas</div>
</div>
</div>
body {
font-family: 'Mountains of Christmas', cursive;
color: #ffffff;
background: #C0392B;
background: repeating-linear-gradient(
45deg,
#E74C3C,
#E74C3C 10px,
#C0392B 10px,
#C0392B 20px);
}
.christmas-bg {
background: repeating-linear-gradient(
45deg,
#2ECC71,
#2ECC71 10px,
#27AE60 10px,
#27AE60 20px
);
}
.notxmas-bg {
background: repeating-linear-gradient(
45deg,
#34495E,
#34495E 10px,
#2C3E50 10px,
#2C3E50 20px
);
}
#mainwrap {
padding-top: 40px;
padding-bottom: 60px;
}
.img-center {
display: block;
margin-left: auto;
margin-right: auto;
}
.sleep-number {
font-family: 'Montserrat', sans-serif;
line-height: 1;
}
@media (min-width: 768px) {
.sleep-number {
font-size: 300px;
}
}
@media (max-width: 767px) {
.sleep-number {
font-size: 150px;
}
}
@media (max-width: 480px) {
.sleep-number {
font-size: 90px;
}
}
@media (min-width: 481px) {
.sleep-text {
font-size: 80px;
}
}
@media (max-width: 480px) {
.sleep-text {
font-size: 40px;
}
}
@media (max-width: 480px) {
#xmasimg {
max-width: 200px;
}
}
$(document).ready(function() {
var sleepsTo = 0;
var monthDaysUntil = [359, 328, 300, 269, 239, 208, 178, 147, 116, 86, 55, 25];
var picAPic = [
`<g><path d="m21.82 21.8 -1.08 -1.27a0.25 0.25 0 0 1 0 -0.33 12 12 0 1 0 -17.49 0 0.25 0.25 0 0 1 0 0.33L2.18 21.8l-0.08 0.13a1.47 1.47 0 0 0 0.13 1.38 1.58 1.58 0 0 0 1.31 0.69h16.92a1.55 1.55 0 0 0 1.31 -0.69 1.42 1.42 0 0 0 0.13 -1.38 0.31 0.31 0 0 0 -0.08 -0.13Zm-9.82 -3a2.5 2.5 0 1 1 2.5 -2.5 2.5 2.5 0 0 1 -2.5 2.53Zm-1.5 -8.5a1.5 1.5 0 1 1 1.5 1.5 1.5 1.5 0 0 1 -1.5 -1.47Zm7.77 9.45a0.3 0.3 0 0 1 -0.16 0h-2.67a0.25 0.25 0 0 1 -0.23 -0.15 0.26 0.26 0 0 1 0 -0.27 4.42 4.42 0 0 0 1.25 -3.08 4.25 4.25 0 0 0 -0.17 -1.25 0.26 0.26 0 0 1 0.13 -0.3l1 -0.51a1 1 0 0 0 -0.9 -1.79l-1.23 0.62A0.26 0.26 0 0 1 15 13l-0.24 -0.2a0.27 0.27 0 0 1 -0.1 -0.17 0.25 0.25 0 0 1 0.06 -0.18 3.47 3.47 0 0 0 0.74 -2.14 3.5 3.5 0 1 0 -7 0 3.47 3.47 0 0 0 0.74 2.14 0.25 0.25 0 0 1 0.06 0.18 0.27 0.27 0 0 1 -0.1 0.17L9 13a0.26 0.26 0 0 1 -0.28 0l-1.23 -0.62a1 1 0 0 0 -1.34 0.45 1 1 0 0 0 0.44 1.34l1 0.51a0.26 0.26 0 0 1 0.13 0.3 4.25 4.25 0 0 0 -0.21 1.29 4.42 4.42 0 0 0 1.25 3.08 0.26 0.26 0 0 1 0 0.27 0.25 0.25 0 0 1 -0.23 0.15H5.8a10 10 0 1 1 12.47 0Z" stroke-width="1"></path><path d="M3.16 10a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M5.44 6.71a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M8.84 4.47a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M18.67 10.03a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M16.39 6.74a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M12.98 4.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path></g>`,
`<g><path d="M16.87 21.45a2.19 2.19 0 0 1 -2.64 -2.17 2.57 2.57 0 0 0 -4.18 -2 0.48 0.48 0 0 1 -0.6 0 2.57 2.57 0 0 0 -4.18 2 2.19 2.19 0 0 1 -2.64 2.17 0.49 0.49 0 0 0 -0.53 0.32 0.52 0.52 0 0 0 0.17 0.59 5.52 5.52 0 0 0 7.1 -1 0.51 0.51 0 0 1 0.38 -0.18 0.53 0.53 0 0 1 0.38 0.18 5.52 5.52 0 0 0 7.1 1 0.52 0.52 0 0 0 0.17 -0.59 0.5 0.5 0 0 0 -0.53 -0.32Z" stroke-width="1"></path><path d="M23.54 4.66a3 3 0 0 0 -4.29 -0.84 0.5 0.5 0 0 1 -0.65 -0.06A9.73 9.73 0 0 0 9.06 1.1c-3.52 1 -5.26 3.75 -6.13 7.32a0.48 0.48 0 0 1 -0.4 0.38A3 3 0 0 0 3 14.75h13.5a3 3 0 0 0 0 -6 0.61 0.61 0 0 1 -0.57 -0.37l-0.3 -0.65a1.45 1.45 0 0 1 1.57 -2l0.4 0.06a0.5 0.5 0 0 1 0.41 0.5 2.94 2.94 0 0 0 0.45 1.58 3 3 0 1 0 5.08 -3.18Zm-7 6.09a1 1 0 0 1 0 2H3a1 1 0 0 1 0 -2Zm5.3 -3.23a1.5 1.5 0 1 1 0.47 -2.06 1.5 1.5 0 0 1 -0.51 2.06Z" stroke-width="1"></path></g>`,
`<path d="M22.52 14.5a1 1 0 0 0 -1.36 -0.39l-1.54 0.89a0.48 0.48 0 0 1 -0.49 0l-1.88 -1.08a0.52 0.52 0 0 1 -0.25 -0.44v-2.92a0.52 0.52 0 0 1 0.25 -0.44L19.13 9a0.48 0.48 0 0 1 0.49 0l1.54 0.85a0.94 0.94 0 0 0 0.48 0.13 1 1 0 0 0 0.88 -0.52 1 1 0 0 0 -0.39 -1.36l-0.35 -0.1a0.26 0.26 0 0 1 -0.13 -0.22 0.27 0.27 0 0 1 0.12 -0.22l0.23 -0.19a1 1 0 0 0 -1 -1.74l-0.26 0.15a0.28 0.28 0 0 1 -0.25 0 0.25 0.25 0 0 1 -0.12 -0.22v-0.4a1 1 0 0 0 -1 -1 1 1 0 0 0 -1 1l0 1.76a0.53 0.53 0 0 1 -0.25 0.43l-1.84 1.03a0.53 0.53 0 0 1 -0.52 0L13.24 6.8a0.52 0.52 0 0 1 -0.24 -0.43v-2a0.5 0.5 0 0 1 0.24 -0.43L14.75 3a1 1 0 0 0 -1 -1.71l-0.34 0.21a0.28 0.28 0 0 1 -0.25 0 0.26 0.26 0 0 1 -0.16 -0.21V1a1 1 0 0 0 -2 0v0.29a0.26 0.26 0 0 1 -0.13 0.22 0.28 0.28 0 0 1 -0.25 0l-0.34 -0.21A1 1 0 1 0 9.25 3l1.51 0.91a0.5 0.5 0 0 1 0.24 0.43v2a0.52 0.52 0 0 1 -0.24 0.43l-2.52 1.6a0.53 0.53 0 0 1 -0.52 0L5.87 7.31a0.53 0.53 0 0 1 -0.25 -0.43l0 -1.76a1 1 0 0 0 -1 -1 1 1 0 0 0 -1 1v0.4a0.25 0.25 0 0 1 -0.12 0.22 0.28 0.28 0 0 1 -0.25 0L3 5.63a1 1 0 0 0 -1 1.74l0.26 0.14a0.27 0.27 0 0 1 0.12 0.22 0.26 0.26 0 0 1 -0.16 0.27l-0.35 0.19a1 1 0 0 0 -0.39 1.31 1 1 0 0 0 0.88 0.52 0.94 0.94 0 0 0 0.48 -0.13L4.38 9a0.48 0.48 0 0 1 0.49 0l1.88 1.08a0.52 0.52 0 0 1 0.25 0.44v2.88a0.52 0.52 0 0 1 -0.25 0.44L4.87 15a0.48 0.48 0 0 1 -0.49 0l-1.54 -0.85a1 1 0 0 0 -1 1.75l0.35 0.19a0.26 0.26 0 0 1 0.13 0.22 0.27 0.27 0 0 1 -0.12 0.22l-0.2 0.1A1 1 0 0 0 1.61 18a1 1 0 0 0 1.39 0.37l0.26 -0.15a0.28 0.28 0 0 1 0.25 0 0.25 0.25 0 0 1 0.12 0.22v0.4a1 1 0 0 0 1 1 1 1 0 0 0 1 -1l0 -1.76a0.53 0.53 0 0 1 0.25 -0.43l1.85 -1.07a0.53 0.53 0 0 1 0.52 0l2.52 1.57a0.52 0.52 0 0 1 0.24 0.43v2a0.5 0.5 0 0 1 -0.24 0.43L9.25 21a1 1 0 1 0 1 1.71l0.34 -0.21a0.28 0.28 0 0 1 0.25 0 0.26 0.26 0 0 1 0.13 0.22V23a1 1 0 0 0 2 0v-0.29a0.26 0.26 0 0 1 0.13 -0.22 0.28 0.28 0 0 1 0.25 0l0.34 0.21a1 1 0 0 0 1.37 -0.34 1 1 0 0 0 -0.31 -1.36l-1.51 -0.91a0.5 0.5 0 0 1 -0.24 -0.43v-2a0.52 0.52 0 0 1 0.24 -0.43l2.52 -1.57a0.53 0.53 0 0 1 0.52 0l1.85 1.07a0.53 0.53 0 0 1 0.25 0.43l0 1.76a1 1 0 0 0 1 1 1 1 0 0 0 1 -1v-0.4a0.25 0.25 0 0 1 0.12 -0.22 0.28 0.28 0 0 1 0.25 0l0.26 0.15a1 1 0 0 0 1.38 -0.45 1 1 0 0 0 -0.39 -1.37l-0.26 -0.14a0.27 0.27 0 0 1 -0.12 -0.22 0.26 0.26 0 0 1 0.13 -0.22l0.35 -0.19a1 1 0 0 0 0.42 -1.36Zm-10.26 0.95a0.49 0.49 0 0 1 -0.52 0l-2.5 -1.55a0.49 0.49 0 0 1 -0.24 -0.42v-3a0.49 0.49 0 0 1 0.24 -0.42l2.5 -1.55a0.49 0.49 0 0 1 0.52 0l2.5 1.55a0.49 0.49 0 0 1 0.24 0.42v3a0.49 0.49 0 0 1 -0.24 0.42Z" stroke-width="1"></path>`,
`<g><path d="M6.16 13 5 11.71a0.75 0.75 0 0 1 1.11 -1l1.58 1.74a0.5 0.5 0 0 0 0.48 0.15 4 4 0 0 1 1.1 -0.08 0.24 0.24 0 0 0 0.18 -0.07 0.26 0.26 0 0 0 0.09 -0.17 4 4 0 0 1 0.81 -2.2 0.47 0.47 0 0 0 0 -0.52 1.49 1.49 0 0 0 -1.2 -0.84l-2.1 -0.22a0.51 0.51 0 0 1 -0.37 -0.23l-1 -1.56A1.51 1.51 0 0 0 4.44 6H1.5A1.5 1.5 0 0 0 0 7.5v2.29a1.51 1.51 0 0 0 0.73 1.29l1.71 1a0.52 0.52 0 0 1 0.25 0.43v2.09A1.49 1.49 0 0 0 3.76 16l0.66 0.2a0.5 0.5 0 0 0 0.41 -0.06 0.51 0.51 0 0 0 0.23 -0.34 3.92 3.92 0 0 1 1.08 -2.1 0.5 0.5 0 0 0 0.02 -0.7Z" stroke-width="1"></path><path d="M22.31 2.5h-3.49a1.67 1.67 0 0 0 -1.43 0.8l-1.14 1.84a0.71 0.71 0 0 1 -0.52 0.33l-2.51 0.25a1.68 1.68 0 0 0 -1.49 1.35l-0.31 1.55a0.25 0.25 0 0 0 0.09 0.24 0.26 0.26 0 0 0 0.27 0 4 4 0 0 1 1.72 -0.36 4.06 4.06 0 0 1 2.05 0.56 0.48 0.48 0 0 0 0.62 -0.06l1.42 -1.56a0.75 0.75 0 0 1 1.11 1l-1.55 1.71a0.5 0.5 0 0 0 -0.08 0.56 4.09 4.09 0 0 1 0.43 1.81 3.93 3.93 0 0 1 -0.58 2.07 0.26 0.26 0 0 0 0 0.28 0.24 0.24 0 0 0 0.27 0.09l2.39 -0.72a1.67 1.67 0 0 0 1.2 -1.61v-2.46a0.68 0.68 0 0 1 0.34 -0.59l2 -1.23A1.67 1.67 0 0 0 24 6.91V4.19a1.69 1.69 0 0 0 -1.69 -1.69Z" stroke-width="1"></path><path d="M11.83 15.52a3 3 0 1 0 -1.29 3.55 3.56 3.56 0 0 1 0 -0.57 4 4 0 0 1 1.29 -2.98Z" stroke-width="1"></path><path d="M12.68 14.94a4 4 0 0 1 1.82 -0.44 3.93 3.93 0 0 1 1.09 0.15 3 3 0 1 0 -5.09 -2.15l0 0.3a4 4 0 0 1 2.18 2.14Z" stroke-width="1"></path><path d="M11.5 18.5a3 3 0 1 0 6 0 3 3 0 1 0 -6 0" stroke-width="1"></path></g>`,
`<g><path d="m15.85 19.56 -8 2.5a0.48 0.48 0 0 0 -0.35 0.47V23a1 1 0 0 0 1 1h7a1 1 0 0 0 1 -1v-3a0.51 0.51 0 0 0 -0.2 -0.4 0.52 0.52 0 0 0 -0.45 -0.04Z" stroke-width="1"></path><path d="M16.09 11.92a1 1 0 0 0 -0.89 -0.14L8.2 14a1 1 0 0 0 -0.7 1v5a0.54 0.54 0 0 0 0.2 0.41 0.52 0.52 0 0 0 0.45 0.07l8 -2.5a0.5 0.5 0 0 0 0.35 -0.48v-4.77a1 1 0 0 0 -0.41 -0.81Z" stroke-width="1"></path><path d="M12 11a4.38 4.38 0 0 0 4.39 -4.39A7.24 7.24 0 0 0 12.24 0.12a1.26 1.26 0 0 0 -1.49 0.32A1.29 1.29 0 0 0 10.62 2a1.9 1.9 0 0 1 0.21 0.43 0.24 0.24 0 0 1 0 0.23 0.26 0.26 0 0 1 -0.22 0.1 1.28 1.28 0 0 0 -0.63 0.13 4.07 4.07 0 0 0 -2.34 4A4.42 4.42 0 0 0 12 11Zm-1.83 -5.85a0.16 0.16 0 0 1 0.11 -0.05 0.14 0.14 0 0 1 0.11 0.05 5.26 5.26 0 0 0 0.55 0.52 1 1 0 0 0 0.79 0.21 1 1 0 0 0 0.68 -0.44A3.8 3.8 0 0 0 13 3.73a0.26 0.26 0 0 1 0.18 -0.22 0.24 0.24 0 0 1 0.27 0.1 5.11 5.11 0 0 1 1 3c0 3 -4.62 3.23 -4.78 0.13a2 2 0 0 1 0.5 -1.59Z" stroke-width="1"></path></g>`,
`<g><path d="m23.57 17.62 -10.16 -7.09a0.49 0.49 0 0 0 -0.37 -0.09l-1.88 0.31a0.49 0.49 0 0 0 -0.41 0.41L10.44 13a0.49 0.49 0 0 0 0.09 0.37l7.09 10.16c0.33 0.3 0.49 0.43 0.82 0.43a1 1 0 0 0 1 -0.76l0.56 -2.45a1 1 0 0 1 0.73 -0.73l2.49 -0.61a1 1 0 0 0 0.74 -0.79 1 1 0 0 0 -0.39 -1Z" stroke-width="1"></path><path d="M14.25 8a1 1 0 0 0 -0.54 -1l-3.26 -1.69a0.49 0.49 0 0 1 -0.27 -0.51l0.54 -3.65A1 1 0 0 0 9 0.29L6.46 2.86a0.51 0.51 0 0 1 -0.58 0.1L2.66 1.32a1 1 0 0 0 -1.34 1.34L3 5.88a0.51 0.51 0 0 1 -0.1 0.58L0.29 9a1 1 0 0 0 -0.18 1.16 1 1 0 0 0 1 0.54l3.65 -0.54a0.51 0.51 0 0 1 0.52 0.27L7 13.71a1 1 0 0 0 1.88 -0.29l0.58 -3.57a0.49 0.49 0 0 1 0.41 -0.41l3.57 -0.58a1 1 0 0 0 0.81 -0.86Z" stroke-width="1"></path></g>`,
`<g><path d="m11.05 5.05 0.95 0 0.95 0a0.56 0.56 0 0 0 0.39 -0.13 0.52 0.52 0 0 0 0.16 -0.37v-3a1.5 1.5 0 0 0 -3 0v3a0.52 0.52 0 0 0 0.16 0.37 0.56 0.56 0 0 0 0.39 0.13Z" stroke-width="1"></path><path d="m16.859 14.645 0.792 -0.792s0.354 -0.353 0.707 0l0.792 0.792s0.354 0.354 0 0.707l-0.792 0.792s-0.353 0.354 -0.707 0l-0.792 -0.792s-0.354 -0.353 0 -0.707" stroke-width="1"></path><path d="m4 12 1.65 -1.2a0.5 0.5 0 0 1 0.68 0l2.32 2.32a0.5 0.5 0 0 0 0.7 0l2.3 -2.3a0.5 0.5 0 0 1 0.7 0l2.3 2.3a0.5 0.5 0 0 0 0.7 0l2.32 -2.32a0.5 0.5 0 0 1 0.68 0L20 12a0.24 0.24 0 0 0 0.3 0 0.23 0.23 0 0 0 0.07 -0.28 9 9 0 0 0 -16.7 0A0.25 0.25 0 0 0 4 12Z" stroke-width="1"></path><path d="m20 18.05 -1.65 1.15a0.5 0.5 0 0 1 -0.68 0l-2.32 -2.32a0.5 0.5 0 0 0 -0.7 0l-2.3 2.3a0.5 0.5 0 0 1 -0.7 0l-2.3 -2.3a0.5 0.5 0 0 0 -0.7 0l-2.32 2.29a0.5 0.5 0 0 1 -0.68 0L4 18.05a0.25 0.25 0 0 0 -0.37 0.3 9 9 0 0 0 16.7 0 0.23 0.23 0 0 0 -0.07 -0.28 0.24 0.24 0 0 0 -0.26 -0.02Z" stroke-width="1"></path><path d="m10.856 14.648 0.792 -0.792s0.354 -0.354 0.707 0l0.792 0.792s0.354 0.353 0 0.707l-0.792 0.792s-0.353 0.353 -0.707 0l-0.792 -0.792s-0.353 -0.354 0 -0.707" stroke-width="1"></path><path d="m4.854 14.65 0.792 -0.792s0.353 -0.353 0.707 0l0.792 0.792s0.353 0.354 0 0.708l-0.792 0.791s-0.354 0.354 -0.707 0l-0.792 -0.791s-0.354 -0.354 0 -0.708" stroke-width="1"></path></g>`,
`<g><path d="m19.86 19.78 -4.12 1.59a0.5 0.5 0 0 0 -0.3 0.37 0.47 0.47 0 0 0 0.13 0.45 2.92 2.92 0 0 0 5 -1.91 0.51 0.51 0 0 0 -0.21 -0.44 0.5 0.5 0 0 0 -0.5 -0.06Z" stroke-width="1"></path><path d="M22.07 16A3.51 3.51 0 0 1 20 13.85L18.93 11a5 5 0 0 0 -0.82 -1.39 0.49 0.49 0 0 0 -0.41 -0.17 0.51 0.51 0 0 0 -0.39 0.22 3.48 3.48 0 0 1 -2.24 1.5 0.48 0.48 0 0 0 -0.34 0.24 0.49 0.49 0 0 0 0 0.41 5.89 5.89 0 0 1 -0.2 4.26l-1.22 2.77A2.5 2.5 0 0 0 13.2 21a2.31 2.31 0 0 1 0.1 0.28l8.8 -3.41a1 1 0 0 0 -0.03 -1.87Z" stroke-width="1"></path><path d="m7.91 22.49 -3.78 -1.67a0.51 0.51 0 0 0 -0.48 0 0.5 0.5 0 0 0 -0.22 0.43 2.8 2.8 0 0 0 4.61 2 0.51 0.51 0 0 0 0.17 -0.45 0.52 0.52 0 0 0 -0.3 -0.31Z" stroke-width="1"></path><path d="m12.35 18.46 1.22 -2.76a4.72 4.72 0 0 0 -0.76 -5.12 0.5 0.5 0 0 0 -0.61 -0.1A3.45 3.45 0 0 1 8 9.84a0.5 0.5 0 0 0 -0.6 -0.09 4.46 4.46 0 0 0 -1.91 2.09l-1.32 3a3.53 3.53 0 0 1 -2.14 2 1 1 0 0 0 -0.13 1.87l9.15 4a1 1 0 0 0 1.3 -1.35 3.5 3.5 0 0 1 0 -2.9Z" stroke-width="1"></path><path d="m3.75 3.91 1 0.56A0.49 0.49 0 0 1 5 4.9v1a1.52 1.52 0 0 0 1.06 1.45l0.62 0.18a0.26 0.26 0 0 0 0.21 0A0.27 0.27 0 0 0 7 7.29 3.47 3.47 0 0 1 10.87 4a0.24 0.24 0 0 0 0.21 -0.08 0.23 0.23 0 0 0 0.06 -0.22L11 3.06a1.51 1.51 0 0 0 -1.31 -1.19l-1.25 -0.11a0.51 0.51 0 0 1 -0.37 -0.23L7.52 0.68A1.49 1.49 0 0 0 6.26 0H4.49A1.5 1.5 0 0 0 3 1.5v1.11a1.48 1.48 0 0 0 0.75 1.3Z" stroke-width="1"></path><path d="M8 7.44a2.5 2.5 0 0 0 2.5 2.5l0.35 0a0.55 0.55 0 0 0 0.37 -0.26 0.51 0.51 0 0 0 0 -0.45 3.49 3.49 0 0 1 -0.31 -1.45 3.53 3.53 0 0 1 0.59 -1.95 0.49 0.49 0 0 0 0.06 -0.44 0.47 0.47 0 0 0 -0.32 -0.31 2.36 2.36 0 0 0 -0.75 -0.12A2.5 2.5 0 0 0 8 7.44Z" stroke-width="1"></path><path d="M13.24 4.47a3.19 3.19 0 0 1 1.16 -0.21 3.48 3.48 0 0 1 3.41 2.83 0.28 0.28 0 0 0 0.13 0.17 0.24 0.24 0 0 0 0.22 0 1.39 1.39 0 0 0 0.9 -1.35v-1a0.5 0.5 0 0 1 0.24 -0.43l0.94 -0.55A1.48 1.48 0 0 0 21 2.62V1.5A1.5 1.5 0 0 0 19.49 0h-1.68a1.5 1.5 0 0 0 -1.26 0.69l-0.55 0.84a0.51 0.51 0 0 1 -0.37 0.23l-1.19 0.11a1.5 1.5 0 0 0 -1.32 1.19l-0.23 1.12a0.24 0.24 0 0 0 0.08 0.24 0.26 0.26 0 0 0 0.27 0.05Z" stroke-width="1"></path><path d="M11.9 7.76a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0 -5 0" stroke-width="1"></path></g>`,
`<g><path d="m21.82 21.8 -1.08 -1.27a0.25 0.25 0 0 1 0 -0.33 12 12 0 1 0 -17.49 0 0.25 0.25 0 0 1 0 0.33L2.18 21.8l-0.08 0.13a1.47 1.47 0 0 0 0.13 1.38 1.58 1.58 0 0 0 1.31 0.69h16.92a1.55 1.55 0 0 0 1.31 -0.69 1.42 1.42 0 0 0 0.13 -1.38 0.31 0.31 0 0 0 -0.08 -0.13Zm-9.82 -3a2.5 2.5 0 1 1 2.5 -2.5 2.5 2.5 0 0 1 -2.5 2.53Zm-1.5 -8.5a1.5 1.5 0 1 1 1.5 1.5 1.5 1.5 0 0 1 -1.5 -1.47Zm7.77 9.45a0.3 0.3 0 0 1 -0.16 0h-2.67a0.25 0.25 0 0 1 -0.23 -0.15 0.26 0.26 0 0 1 0 -0.27 4.42 4.42 0 0 0 1.25 -3.08 4.25 4.25 0 0 0 -0.17 -1.25 0.26 0.26 0 0 1 0.13 -0.3l1 -0.51a1 1 0 0 0 -0.9 -1.79l-1.23 0.62A0.26 0.26 0 0 1 15 13l-0.24 -0.2a0.27 0.27 0 0 1 -0.1 -0.17 0.25 0.25 0 0 1 0.06 -0.18 3.47 3.47 0 0 0 0.74 -2.14 3.5 3.5 0 1 0 -7 0 3.47 3.47 0 0 0 0.74 2.14 0.25 0.25 0 0 1 0.06 0.18 0.27 0.27 0 0 1 -0.1 0.17L9 13a0.26 0.26 0 0 1 -0.28 0l-1.23 -0.62a1 1 0 0 0 -1.34 0.45 1 1 0 0 0 0.44 1.34l1 0.51a0.26 0.26 0 0 1 0.13 0.3 4.25 4.25 0 0 0 -0.21 1.29 4.42 4.42 0 0 0 1.25 3.08 0.26 0.26 0 0 1 0 0.27 0.25 0.25 0 0 1 -0.23 0.15H5.8a10 10 0 1 1 12.47 0Z" stroke-width="1"></path><path d="M3.16 10a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M5.44 6.71a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M8.84 4.47a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M18.67 10.03a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M16.39 6.74a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M12.98 4.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path></g>`,
`<g><path d="M6.15 6A1 1 0 0 0 7 7.49h0.41a0.13 0.13 0 0 1 0.13 0.08 0.14 0.14 0 0 1 0 0.16 0.25 0.25 0 0 0 0 0.27 0.24 0.24 0 0 0 0.24 0.15l0.9 0c3.34 -0.11 7.46 -0.24 9.3 -1.23a1 1 0 0 0 -0.06 -1 29.49 29.49 0 0 0 -4.67 -5.1L12.81 0.4a1 1 0 0 0 -1.62 0l-0.44 0.41A29.84 29.84 0 0 0 6.15 6ZM12 4.24a0.75 0.75 0 1 1 -0.75 0.75 0.75 0.75 0 0 1 0.75 -0.75Z" stroke-width="1"></path><path d="M4.17 11.43a1 1 0 0 0 0 1A1 1 0 0 0 5 13h1.74q-0.3 0.3 -0.6 0.66a0.26 0.26 0 0 0 0 0.27 0.24 0.24 0 0 0 0.23 0.14c5.11 -0.18 12 -1.3 13.49 -2a0.28 0.28 0 0 0 0.15 -0.27 1.21 1.21 0 0 0 -0.17 -0.43 39.45 39.45 0 0 0 -2.67 -3 0.24 0.24 0 0 0 -0.24 -0.07 40.17 40.17 0 0 1 -8.27 0.79l-2.46 0.1a0.25 0.25 0 0 0 -0.2 0.11q-1 1.1 -1.83 2.13ZM14.5 10a0.75 0.75 0 1 1 -0.75 0.75 0.75 0.75 0 0 1 0.75 -0.75Zm-5 0.75a0.75 0.75 0 1 1 -0.75 0.75 0.75 0.75 0 0 1 0.75 -0.76Z" stroke-width="1"></path><path d="M20.83 17.93A33.43 33.43 0 0 0 18 13.78a0.24 0.24 0 0 0 -0.24 -0.08 75.45 75.45 0 0 1 -12.62 1.39 0.26 0.26 0 0 0 -0.2 0.1c-0.56 0.79 -1.13 1.68 -1.74 2.7a1 1 0 0 0 -0.09 1 1 1 0 0 0 0.89 0.56h6.75a0.25 0.25 0 0 1 0.25 0.25V23a1 1 0 0 0 2 0v-3.26a0.25 0.25 0 0 1 0.25 -0.25H20a1 1 0 0 0 0.89 -0.56 1 1 0 0 0 -0.06 -1ZM7.09 18a0.75 0.75 0 0 1 0 -1.5 0.75 0.75 0 0 1 0 1.5Zm4.46 -2.25a0.75 0.75 0 1 1 -0.75 0.75 0.75 0.75 0 0 1 0.75 -0.76Zm4.7 1.75a0.75 0.75 0 1 1 0.75 -0.75 0.75 0.75 0 0 1 -0.75 0.74Z" stroke-width="1"></path></g>`,
`<path d="M23.13 10.14 19.42 7.5a1 1 0 0 1 -0.42 -0.81V1.5A1.5 1.5 0 0 0 17.5 0h-11A1.5 1.5 0 0 0 5 1.5v5.19a1 1 0 0 1 -0.42 0.81L0.89 10.12A2 2 0 0 0 0 11.79v9.71A2.5 2.5 0 0 0 2.5 24h19a2.5 2.5 0 0 0 2.5 -2.5v-9.71a2 2 0 0 0 -0.87 -1.65Zm-4.13 0a0.23 0.23 0 0 1 0.14 -0.22 0.23 0.23 0 0 1 0.25 0l1.47 1a0.29 0.29 0 0 1 0.1 0.22 0.24 0.24 0 0 1 -0.12 0.2l-1.46 0.89a0.28 0.28 0 0 1 -0.25 0 0.25 0.25 0 0 1 -0.13 -0.22ZM8.51 9.57 9.92 8a0.33 0.33 0 0 0 0.08 -0.35 0.31 0.31 0 0 0 -0.28 -0.18 0.7 0.7 0 0 1 -0.55 -1.12l2.47 -3.17a0.51 0.51 0 0 1 0.78 0l2.47 3.17a0.7 0.7 0 0 1 -0.55 1.12 0.31 0.31 0 0 0 -0.23 0.51l1.37 1.53a0.91 0.91 0 0 1 0.09 1 0.9 0.9 0 0 1 -0.78 0.47h-1.54a0.5 0.5 0 0 0 -0.5 0.5v1a0.75 0.75 0 1 1 -1.5 0v-1a0.5 0.5 0 0 0 -0.5 -0.5H9.24a0.9 0.9 0 0 1 -0.78 -0.47 0.88 0.88 0 0 1 0.05 -0.94ZM3.14 11l1.47 -1a0.23 0.23 0 0 1 0.25 0 0.23 0.23 0 0 1 0.14 0.22v1.92a0.25 0.25 0 0 1 -0.13 0.22 0.28 0.28 0 0 1 -0.25 0l-1.46 -0.89a0.24 0.24 0 0 1 -0.12 -0.2 0.29 0.29 0 0 1 0.1 -0.27ZM22 21.5a0.5 0.5 0 0 1 -0.5 0.5h-19a0.5 0.5 0 0 1 -0.5 -0.5l0 -8a0.26 0.26 0 0 1 0.13 -0.22 0.25 0.25 0 0 1 0.25 0l4.66 2.82a0.27 0.27 0 0 1 0.12 0.21 0.24 0.24 0 0 1 -0.11 0.21L4.6 18.18a1 1 0 0 0 -0.27 1.39 1 1 0 0 0 0.83 0.44 1 1 0 0 0 0.56 -0.17l3.58 -2.42a1 1 0 0 1 0.56 -0.17h4.26a1 1 0 0 1 0.57 0.18l3.39 2.4a1 1 0 0 0 1.16 -1.64l-2.35 -1.66a0.24 0.24 0 0 1 -0.11 -0.21 0.24 0.24 0 0 1 0.12 -0.2l4.72 -2.86a0.25 0.25 0 0 1 0.25 0 0.26 0.26 0 0 1 0.13 0.22Z" stroke-width="1"></path>`,
`<path d="M23 11a11 11 0 1 0 -15.87 9.85 0.5 0.5 0 0 1 0.26 0.59l-0.14 0.49a1.25 1.25 0 0 0 0.36 1.28 1.23 1.23 0 0 0 1.29 0.23 0.5 0.5 0 0 1 0.54 0.14 1.17 1.17 0 0 0 1.08 0.41 1.28 1.28 0 0 0 1 -0.85l0.24 -0.74a0.24 0.24 0 0 1 0.44 0l0.24 0.74a1.28 1.28 0 0 0 1 0.85 1.17 1.17 0 0 0 1.08 -0.41 0.5 0.5 0 0 1 0.54 -0.14 1.23 1.23 0 0 0 1.29 -0.23 1.25 1.25 0 0 0 0.36 -1.28l-0.14 -0.49a0.5 0.5 0 0 1 0.26 -0.59A11 11 0 0 0 23 11ZM12 2.49a1 1 0 1 1 -1 1 1 1 0 0 1 1 -1Zm0 4a4.47 4.47 0 0 1 4.47 4.1 0.53 0.53 0 0 1 -0.12 0.38 0.48 0.48 0 0 1 -0.36 0.16 4.25 4.25 0 0 0 -2.75 1.49 0.48 0.48 0 0 1 -0.47 0.11 2.75 2.75 0 0 0 -1.54 0 0.48 0.48 0 0 1 -0.47 -0.11A4.22 4.22 0 0 0 8 11.14a0.46 0.46 0 0 1 -0.35 -0.14 0.49 0.49 0 0 1 -0.12 -0.37A4.47 4.47 0 0 1 12 6.5Zm1.25 8.88A1.25 1.25 0 1 1 12 14.13a1.25 1.25 0 0 1 1.25 1.25Zm-9 -3.63a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1.01Zm1.66 -6.93a1 1 0 0 1 1.42 0 1 1 0 0 1 0 1.41 1 1 0 0 1 -1.42 0 1 1 0 0 1 0 -1.41Zm1.91 12.87a1.48 1.48 0 0 1 -1.57 -1.37V14a1.48 1.48 0 0 1 1.57 -1.36 1.84 1.84 0 0 1 1.18 0.41l0.5 0.44a0.5 0.5 0 0 1 0.1 0.61 2.76 2.76 0 0 0 -0.32 1.28 2.55 2.55 0 0 0 0.2 1 0.51 0.51 0 0 1 -0.13 0.57l-0.35 0.31a1.78 1.78 0 0 1 -1.18 0.42ZM15 21.35a0.24 0.24 0 0 1 -0.06 0.24 0.26 0.26 0 0 1 -0.25 0.07 0.75 0.75 0 0 0 -0.73 0.17 0.24 0.24 0 0 1 -0.23 0.06 0.26 0.26 0 0 1 -0.18 -0.16l-0.86 -2.59a0.75 0.75 0 0 0 -1.42 0l-0.86 2.59a0.3 0.3 0 0 1 -0.18 0.17 0.25 0.25 0 0 1 -0.23 -0.07 0.74 0.74 0 0 0 -0.73 -0.17 0.26 0.26 0 0 1 -0.27 -0.07 0.24 0.24 0 0 1 0 -0.24l0.77 -2.62a0.72 0.72 0 0 1 0.22 -0.35l0.44 -0.39a0.51 0.51 0 0 1 0.53 -0.09 2.56 2.56 0 0 0 2.12 0 0.51 0.51 0 0 1 0.53 0.09l0.44 0.39a0.77 0.77 0 0 1 0.22 0.35Zm2.73 -5a1.48 1.48 0 0 1 -1.57 1.36 1.7 1.7 0 0 1 -1.16 -0.45l-0.32 -0.26a0.51 0.51 0 0 1 -0.13 -0.57 2.55 2.55 0 0 0 0.2 -1 2.76 2.76 0 0 0 -0.32 -1.28 0.5 0.5 0 0 1 0.1 -0.61l0.5 -0.44a1.74 1.74 0 0 1 1.15 -0.42A1.48 1.48 0 0 1 17.75 14Zm0.34 -10.1a1 1 0 0 1 -1.42 0 1 1 0 0 1 0 -1.41 1 1 0 0 1 1.42 0 1 1 0 0 1 0.02 1.38Zm0.66 4.53a1 1 0 1 1 1 1 1 1 0 0 1 -0.98 -1.03Z" stroke-width="1"></path>`,
`<g><path d="M5.5 10.88H14s0.5 0 0.5 0.5v4s0 0.5 -0.5 0.5H5.5s-0.5 0 -0.5 -0.5v-4s0 -0.5 0.5 -0.5" stroke-width="1"></path><path d="M23 20.88h-4a0.5 0.5 0 0 1 -0.39 -0.2 0.48 0.48 0 0 1 -0.09 -0.43l0.27 -1a0.49 0.49 0 0 1 0.48 -0.37H23a1 1 0 0 0 0 -2H5a3 3 0 0 1 -3 -3 1 1 0 0 0 -2 0 5 5 0 0 0 5 5h2.12a0.49 0.49 0 0 1 0.39 0.19 0.48 0.48 0 0 1 0.09 0.43l-0.27 1a0.51 0.51 0 0 1 -0.48 0.38H1a1 1 0 0 0 0 2h22a1 1 0 0 0 0 -2Zm-6.4 -1.38 -0.27 1a0.51 0.51 0 0 1 -0.48 0.38H10a0.5 0.5 0 0 1 -0.39 -0.2 0.48 0.48 0 0 1 -0.09 -0.43l0.27 -1a0.49 0.49 0 0 1 0.48 -0.37h5.9a0.49 0.49 0 0 1 0.39 0.19 0.48 0.48 0 0 1 0.04 0.43Z" stroke-width="1"></path><path d="M8 9.88h6a0.5 0.5 0 0 0 0.5 -0.5v-5a0.5 0.5 0 0 0 -0.5 -0.5h-1.67a0.24 0.24 0 0 1 -0.23 -0.18 0.23 0.23 0 0 1 0.08 -0.27l1.27 -1a0.75 0.75 0 0 0 0.15 -1 0.74 0.74 0 0 0 -1 -0.15l-1.25 0.93a0.48 0.48 0 0 1 -0.6 0l-1.3 -0.93a0.74 0.74 0 0 0 -1 0.15 0.75 0.75 0 0 0 0.15 1.05l1.27 1a0.23 0.23 0 0 1 0.08 0.27 0.24 0.24 0 0 1 -0.23 0.18H8a0.5 0.5 0 0 0 -0.5 0.5v5a0.5 0.5 0 0 0 0.5 0.45Z" stroke-width="1"></path><path d="M16.5 15.88h6a0.5 0.5 0 0 0 0.5 -0.5v-7a0.5 0.5 0 0 0 -0.5 -0.5h-1.67a0.24 0.24 0 0 1 -0.23 -0.18 0.23 0.23 0 0 1 0.08 -0.27L22 6.48a0.75 0.75 0 0 0 0.15 -1.05 0.74 0.74 0 0 0 -1.05 -0.15l-1.25 0.93a0.48 0.48 0 0 1 -0.6 0L18 5.28a0.74 0.74 0 0 0 -1.05 0.15 0.75 0.75 0 0 0 0.15 1.05l1.27 0.95a0.23 0.23 0 0 1 0.08 0.27 0.24 0.24 0 0 1 -0.23 0.18H16.5a0.5 0.5 0 0 0 -0.5 0.5v7a0.5 0.5 0 0 0 0.5 0.5Z" stroke-width="1"></path></g><`,
`<g><path d="M0 1a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M0 9.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M3.5 4.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M8.5 1.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M7 7a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M12.5 4.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M16.5 1a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M22 3.5a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M10.5 11a1 1 0 1 0 2 0 1 1 0 1 0 -2 0" stroke-width="1"></path><path d="M23.71 15.77A8.33 8.33 0 0 0 21 15a0.51 0.51 0 0 1 -0.45 -0.5v-1.06a0.5 0.5 0 0 1 0.5 -0.5h1.48a0.63 0.63 0 0 0 0.44 -1.07L22 10.75a0.26 0.26 0 0 1 0 -0.24 0.25 0.25 0 0 1 0.17 -0.16 0.63 0.63 0 0 0 0.31 -1l-1.23 -1.6a0.26 0.26 0 0 1 0 -0.24 0.23 0.23 0 0 1 0.17 -0.16 0.62 0.62 0 0 0 0.25 -1.09l-1.8 -1.91a0.51 0.51 0 0 0 -0.74 0l-1.76 1.91a0.62 0.62 0 0 0 0.25 1.09 0.23 0.23 0 0 1 0.17 0.16 0.26 0.26 0 0 1 0 0.24L16.52 9.3a0.63 0.63 0 0 0 0.31 1 0.25 0.25 0 0 1 0.17 0.16 0.26 0.26 0 0 1 0 0.24l-0.88 1.12a0.63 0.63 0 0 0 0.44 1.07H18a0.5 0.5 0 0 1 0.5 0.5v1.34a0.48 0.48 0 0 1 -0.37 0.48 8.86 8.86 0 0 0 -2.54 1.14l-1.43 0.93c-0.14 0.09 -0.61 0.43 -1.17 0.85l-1.51 1.1a0.25 0.25 0 0 0 -0.1 0.25 0.26 0.26 0 0 0 0.18 0.2l3.18 0.82a12.15 12.15 0 0 0 8 -0.66l1 -0.45A0.5 0.5 0 0 0 24 19v-2.77a0.51 0.51 0 0 0 -0.29 -0.46Z" stroke-width="1"></path><path d="M23.3 21.26a13.61 13.61 0 0 1 -8.94 0.74l-4.26 -1.1a14.57 14.57 0 0 0 -4.1 -0.47 0.46 0.46 0 0 1 -0.36 -0.14 0.48 0.48 0 0 1 -0.15 -0.36v-0.49a0.5 0.5 0 0 1 0.5 -0.5h1.49a0.63 0.63 0 0 0 0.44 -1.07L7 16.75a0.26 0.26 0 0 1 0 -0.24 0.25 0.25 0 0 1 0.17 -0.16 0.63 0.63 0 0 0 0.31 -1.05l-1.23 -1.55a0.26 0.26 0 0 1 0 -0.24 0.23 0.23 0 0 1 0.17 -0.16 0.62 0.62 0 0 0 0.25 -1.09l-1.8 -1.91a0.51 0.51 0 0 0 -0.74 0l-1.76 1.91a0.62 0.62 0 0 0 0.25 1.09 0.23 0.23 0 0 1 0.17 0.16 0.26 0.26 0 0 1 0 0.24L1.52 15.3a0.63 0.63 0 0 0 0.31 1.05 0.25 0.25 0 0 1 0.17 0.16 0.26 0.26 0 0 1 0 0.24l-0.88 1.12a0.63 0.63 0 0 0 0.44 1.07H3a0.5 0.5 0 0 1 0.5 0.5v0.89a0.49 0.49 0 0 1 -0.39 0.48 14.5 14.5 0 0 0 -2.11 0.67l-0.71 0.28a0.49 0.49 0 0 0 -0.31 0.46v1.28a0.5 0.5 0 0 0 0.5 0.5h23a0.5 0.5 0 0 0 0.5 -0.5v-1.78a0.5 0.5 0 0 0 -0.23 -0.42 0.52 0.52 0 0 0 -0.45 -0.04Z" stroke-width="1"></path></g>`,
];
var today = new Date();
// add a day to Jan and Feb if a leap year
var isLeap = new Date(today.getYear(), 1, 29).getMonth() == 1;
if (today.getMonth() == 11 && today.getDate() > 25) {
isLeap = new Date((today.getYear()+1), 1, 29).getMonth() == 1;
};
if(isLeap) {
monthDaysUntil[0] = 360;
monthDaysUntil[1] = 329;
};
//set the bg
if (today.getMonth() == 11) {
$('#mainwrap').addClass('christmas-bg');
}
else {
$('#mainwrap').addClass('notxmas-bg');
}
//set the sleeps to Xmas
if (today.getMonth() == 11 && today.getDate() > 25) {
sleepsTo = (31 - today.getDate()) + monthDaysUntil[0];
$('#sleeps').text(sleepsTo);
document.getElementById('xmasimg').innerHTML = picAPic[13];
}
else {
sleepsTo = monthDaysUntil[today.getMonth()] - today.getDate();
$('#sleeps').text(sleepsTo);
document.getElementById('xmasimg').innerHTML = picAPic[today.getMonth()];
}
// 1 sleep
if(sleepsTo == 1) {
$('#text').text("Sleep Until Christmas");
};
//if ITS CHRISTMAS!!!!
if(sleepsTo == 0) {
$('#sleeps').text("-");
$('#text').text("Ho, Ho, Ho, it's Christmas!!!");
document.getElementById('xmasimg').innerHTML = picAPic[12];
};
});