--- /dev/null
+!function(t){
+ t.addEventListener('DOMContentLoaded', function () {
+ var l = t.querySelector('#light-off');
+ if (l !== null) {
+ l.checked = t.cookie.match(/lightOff=true/) !== null;
+ l.addEventListener('change', function () {
+ t.cookie = 'lightOff=' + JSON.stringify(l.checked) + ';path=/';
+ });
+ }
+ })
+}(document);