for (var j = 0; j < COM_SECT_ITEMS.length; j++){
CONDITION_ID = COM_SECT_ITEMS[j].getAttribute("CONDITION_ID");
if(CONDITION_ID == 31 || CONDITION_ID == 206 || CONDITION_ID == 512){
KALITKA = "К, ";
break;
}
else{
KALITKA = "";
}
}
понятно, сделано
спасибо