function updatecheckboxes() { showhide("Unknown", plugsShown & plugtype["Unknown"]); showhide("u230V_1f_i10A_ground", plugsShown & plugtype["u230V_1f_i10A_ground"]); showhide("u230V_1f_i16A_ground", plugsShown & plugtype["u230V_1f_i16A_ground"]); showhide("u230V_f1_i16A_blue_cee", plugsShown & plugtype["u230V_f1_i16A_blue_cee"]); showhide("u380_400V_f3_i16A_red_cee", plugsShown & plugtype["u380_400V_f3_i16A_red_cee"]); showhide("u380_400V_f3_i32A_red_cee", plugsShown & plugtype["u380_400V_f3_i32A_red_cee"]); showhide("J1772", plugsShown & plugtype["J1772"]); showhide("Mennekes", plugsShown & plugtype["Mennekes"]); showhide("Mennekes_cable", plugsShown & plugtype["Mennekes_cable"]); showhide("Marechal", plugsShown & plugtype["Marechal"]); showhide("Chademo", plugsShown & plugtype["Chademo"]); showhide("TSL01", plugsShown & plugtype["TSL01"]); showhide("ComboEU", plugsShown & plugtype["ComboEU"]); }