(id, value)
| 107 | })(window.location.search.substr(1).split('&')); |
| 108 | |
| 109 | var write = (id, value) => { |
| 110 | if (!value) return; |
| 111 | var el = document.getElementById(id); |
| 112 | if (el.type === "checkbox") el.checked = (value === "1"); |
| 113 | else el.value = value; |
| 114 | } |
| 115 | |
| 116 | function writeSigs(sigs) { |
| 117 | for (let sig of (sigs || '').split(',')) { |