_set(field, checkbox.checked ? '1' : '0');
            }
            var msURL = document.getElementById('msURL');
            var sURL = document.getElementById('sURL');
            ls_set('msURL', msURL.value);
            ls_set('sURL', sURL.value);
            console.log('save');
        }

        function loadSettings() {
            arib_caption_transmit_mode = ls_get('aribCaptionTransmitMode', 'private_stream_1');
            if (arib_caption_transmit_mode == "timed_id3") {
                document