+}
+
+
+/* TKL (un)select all checkbox */
+function toggle_user(source) {
+ checkboxes = document.getElementsByName("userch[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+
+/* TKL (un)select all checkbox */
+function toggle_server(source) {
+ checkboxes = document.getElementsByName("serverch[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+/* TKL (un)select all checkbox */
+function toggle_sf(source) {
+ checkboxes = document.getElementsByName("sf[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+function toggle_chanbans(source) {
+ checkboxes = document.getElementsByName("cb_checkboxes[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+function toggle_chanexs(source) {
+ checkboxes = document.getElementsByName("ce_checkboxes[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+function toggle_chaninvs(source) {
+ checkboxes = document.getElementsByName("ci_checkboxes[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}
+
+function toggle_checkbox(source) {
+ checkboxes = document.getElementsByName("checkboxes[]");
+ for (var i = 0, n = checkboxes.length; i < n; i++) {
+ checkboxes[i].checked = source.checked;
+ }
+}