function checkboxKlick(name_check, checked_check) {
for ( var i = 0; i != document.forms[0].elements.length; i++) {
if (document.forms[0].elements[i].name == name_check) {
if (checked_check == true) {
document.forms[0].elements[i].checked = true;
} else {
document.forms[0].elements[i].checked = false;
}
}
}
}