a3a47aa45b3237621876572d6e6dae3752398047
3 function cbi_d_add(field
, target
, value
) {
7 if (!cbi_d
[target
][value
]) {
8 cbi_d
[target
][value
] = [];
10 cbi_d
[target
][value
].push(field
);
13 function cbi_d_update(target
) {
18 for (var x
in cbi_d
[target
]) {
19 for (var i
=0; i
<cbi_d
[target
][x
].length
; i
++) {
20 var y
= document
.getElementById(cbi_d
[target
][x
][i
])
21 y
.style
.display
= "none";
25 var t
= document
.getElementById(target
);
26 if (t
&& t
.value
&& cbi_d
[target
][t
.value
]) {
27 for (var i
=0; i
<cbi_d
[target
][t
.value
].length
; i
++) {
28 var y
= document
.getElementById(cbi_d
[target
][t
.value
][i
])
30 y
.style
.display
= "table-row";
32 y
.style
.display
= "block";
38 function cbi_d_init() {
39 for (var x
in cbi_d
) {