function count()
{
var item1cal = 260.0;
var item2cal = 152.8;
var item3cal = 215.1;
var item4cal = 137.2;
var item5cal = 238.0;
var item6cal = 265.0;
var item7cal = 111.0;
var item8cal = 9.5;
var item9cal = 4.3;
var item10cal = 6.3;
var item11cal = 10.0;
var item12cal = 15.2;
var item13cal = 79.6;
var item14cal = 17.6;
var item15cal = 15.0;
var item16cal = 70.0;
var item17cal = 13.0;
var item18cal = 172.0;
var item19cal = 170.0;
var item20cal = 105.1;
var item21cal = 125.0;
var item22cal = 70.0;
var item23cal = 116.4;
var item24cal = 60.0;
var item25cal = 177.0;
var item26cal = 200.0;
var item27cal = 160.0;

var item1fat = 0.4;
var item2fat = 12.7;
var item3fat = 9.8;
var item4fat = 6.2;
var item5fat = 12.9;
var item6fat = 11.5;
var item7fat = 7.6;
var item8fat = 0.1;
var item9fat = 0.1;
var item10fat = 0.5;
var item11fat = 0.1;
var item12fat = 0.1;
var item13fat = 6.6;
var item14fat = 0.0;
var item15fat = 0.0;
var item16fat = 4.0;
var item17fat = 0.1;
var item18fat = 8.0;
var item19fat = 9.3;
var item20fat = 2.6;
var item21fat = 8.5;
var item22fat = 5.0;
var item23fat = 0.7;
var item24fat = 1.4;
var item25fat = 0.1;
var item26fat = 0.2;
var item27fat = 0.1;

var item1pro = 10.0;
var item2pro = 9.3;
var item3pro = 28.2;
var item4pro = 18.9;
var item5pro = 9.5;
var item6pro = 0.0;
var item7pro = 6.6;
var item8pro = 0.4;
var item9pro = 0.5;
var item10pro = 0.0;
var item11pro = 0.3;
var item12pro = 0.5;
var item13pro = 4.0;
var item14pro = 0.0;
var item15pro = 1.0;
var item16pro = 0.0;
var item17pro = 0.5;
var item18pro = 7.0;
var item19pro = 20.1;
var item20pro = 16.6;
var item21pro = 8.6;
var item22pro = 5.5;
var item23pro = 27.6;
var item24pro = 1.7;
var item25pro = 0.0;
var item26pro = 5.0;
var item27pro = 3.8;

var item1car = 54.0;
var item2car = 0.0;
var item3car = 1.6;
var item4car = 1.2;
var item5car = 25.9;
var item6car = 40.7;
var item7car = 1.3;
var item8car = 2.1;
var item9car = 0.7;
var item10car = 0.3;
var item11car = 2.4;
var item12car = 3.5;
var item13car = 1.1;
var item14car = 3.5;
var item15car = 3.0;
var item16car = 9.0;
var item17car = 3.0;
var item18car = 18.0;
var item19car = 0.0;
var item20car = 4.5;
var item21car = 3.5;
var item22car = 1.0;
var item23car = 0.0;
var item24car = 10.3;
var item25car = 46.5;
var item26car = 40.0;
var item27car = 30.0;

var item1sod = 214.0;
var item2sod = 235.6;
var item3sod = 1797.2;
var item4sod = 1262.1;
var item5sod = 592.0;
var item6sod = 177.0;
var item7sod = 0.0;
var item8sod = 4.1;
var item9sod = 0.7;
var item10sod = 60.5;
var item11sod = 0.7;
var item12sod = 1.2;
var item13sod = 312.5;
var item14sod = 167.6;
var item15sod = 0.0;
var item16sod = 0.0;
var item17sod = 2.0;
var item18sod = 340.0;
var item19sod = 65.0;
var item20sod = 1076.9;
var item21sod = 564.0;
var item22sod = 700.0;
var item23sod = 468.0;
var item24sod = 58.0;
var item25sod = 44.0;
var item26sod = 134.0;
var item27sod = 154.0;


var item1cho = 0.0;
var item2cho = 39.7;
var item3cho = 25.0;
var item4cho = 6.0;
var item5cho = 24.0;
var item6cho = 0.0;
var item7cho = 160.0;
var item8cho = 0.0;
var item9cho = 0.0;
var item10cho = 0.1;
var item11cho = 0.0;
var item12cho = 0.1;
var item13cho = 27.5;
var item14cho = 0.0;
var item15cho = 0.0;
var item16cho = 0.0;
var item17cho = 0.0;
var item18cho = 15.0;
var item19cho = 71.8;
var item20cho = 26.0;
var item21cho = 17.0;
var item22cho = 15.0;
var item23cho = 21.2;
var item24cho = 0.0;
var item25cho = 0.0;
var item26cho = 0.0;
var item27cho = 0.0;

var item1fib = 2.0;
var item2fib = 0.0;
var item3fib = 0.0;
var item4fib = 0.0;
var item5fib = 2.0;
var item6fib = 0.0;
var item7fib = 0.0;
var item8fib = 0.7;
var item9fib = 0.5;
var item10fib = 0.0;
var item11fib = 0.4;
var item12fib = 0.6;
var item13fib = 0.0;
var item14fib = 0.0;
var item15fib = 0.0;
var item16fib = 0.0;
var item17fib = 0.2;
var item18fib = 1.0;
var item19fib = 0.0;
var item20fib = 0.0;
var item21fib = 0.9;
var item22fib = 0.0;
var item23fib = 0.0;
var item24fib = 0.7;
var item25fib = 0.7;
var item26fib = 1.6;
var item27fib = 1.2;

 if (document.calc.item1.checked){
   var witem1 = document.calc.item1.value = item1cal;
   var fitem1 = document.calc.item1.value = item1fat;
   var pitem1 = document.calc.item1.value = item1pro;
   var citem1 = document.calc.item1.value = item1car;
   var sitem1 = document.calc.item1.value = item1sod;
   var hitem1 = document.calc.item1.value = item1cho;
   var bitem1 = document.calc.item1.value = item1fib;
 } else {
   var witem1 = document.calc.item1.value = 0;
   var fitem1 = document.calc.item1.value = 0;
   var pitem1 = document.calc.item1.value = 0;
   var citem1 = document.calc.item1.value = 0;
   var sitem1 = document.calc.item1.value = 0;
   var hitem1 = document.calc.item1.value = 0;
   var bitem1 = document.calc.item1.value = 0;
 }
 if (document.calc.item2.checked){
   var witem2 = document.calc.item2.value = item2cal;
   var fitem2 = document.calc.item2.value = item2fat;
   var pitem2 = document.calc.item2.value = item2pro;
   var citem2 = document.calc.item2.value = item2car;
   var sitem2 = document.calc.item2.value = item2sod;
   var hitem2 = document.calc.item2.value = item2cho;
   var bitem2 = document.calc.item2.value = item2fib;
 } else {
   var witem2 = document.calc.item2.value = 0;
   var fitem2 = document.calc.item2.value = 0;
   var pitem2 = document.calc.item2.value = 0;
   var citem2 = document.calc.item2.value = 0;
   var sitem2 = document.calc.item2.value = 0;
   var hitem2 = document.calc.item2.value = 0;
   var bitem2 = document.calc.item2.value = 0;
 }
 if (document.calc.item3.checked) {
   var witem3 = document.calc.item3.value = item3cal;
   var fitem3 = document.calc.item3.value = item3fat;
   var pitem3 = document.calc.item3.value = item3pro;
   var citem3 = document.calc.item3.value = item3car;
   var sitem3 = document.calc.item3.value = item3sod;
   var hitem3 = document.calc.item3.value = item3cho;
   var bitem3 = document.calc.item3.value = item3fib;
 } else {
   var witem3 = document.calc.item3.value = 0;
   var fitem3 = document.calc.item3.value = 0;
   var pitem3 = document.calc.item3.value = 0;
   var citem3 = document.calc.item3.value = 0;
   var sitem3 = document.calc.item3.value = 0;
   var hitem3 = document.calc.item3.value = 0;
   var bitem3 = document.calc.item3.value = 0;
 }
 if (document.calc.item4.checked) {
   var witem4 = document.calc.item4.value = item4cal;
   var fitem4 = document.calc.item4.value = item4fat;
   var pitem4 = document.calc.item4.value = item4pro;
   var citem4 = document.calc.item4.value = item4car;
   var sitem4 = document.calc.item4.value = item4sod;
   var hitem4 = document.calc.item4.value = item4cho;
   var bitem4 = document.calc.item4.value = item4fib;
 } else {
   var witem4 = document.calc.item4.value = 0;
   var fitem4 = document.calc.item4.value = 0;
   var pitem4 = document.calc.item4.value = 0;
   var citem4 = document.calc.item4.value = 0;
   var sitem4 = document.calc.item4.value = 0;
   var hitem4 = document.calc.item4.value = 0;
   var bitem4 = document.calc.item4.value = 0;
 }
 if (document.calc.item5.checked) {
   var witem5 = document.calc.item5.value = item5cal;
   var fitem5 = document.calc.item5.value = item5fat;
   var pitem5 = document.calc.item5.value = item5pro;
   var citem5 = document.calc.item5.value = item5car;
   var sitem5 = document.calc.item5.value = item5sod;
   var hitem5 = document.calc.item5.value = item5cho;
   var bitem5 = document.calc.item5.value = item5fib;
 } else {
   var witem5 = document.calc.item5.value = 0;
   var fitem5 = document.calc.item5.value = 0;
   var pitem5 = document.calc.item5.value = 0;
   var citem5 = document.calc.item5.value = 0;
   var sitem5 = document.calc.item5.value = 0;
   var hitem5 = document.calc.item5.value = 0;
   var bitem5 = document.calc.item5.value = 0;
 }
 if (document.calc.item6.checked) {
   var witem6 = document.calc.item6.value = item6cal;
   var fitem6 = document.calc.item6.value = item6fat;
   var pitem6 = document.calc.item6.value = item6pro;
   var citem6 = document.calc.item6.value = item6car;
   var sitem6 = document.calc.item6.value = item6sod;
   var hitem6 = document.calc.item6.value = item6cho;
   var bitem6 = document.calc.item6.value = item6fib;
 } else {
   var witem6 = document.calc.item6.value = 0;
   var fitem6 = document.calc.item6.value = 0;
   var pitem6 = document.calc.item6.value = 0;
   var citem6 = document.calc.item6.value = 0;
   var sitem6 = document.calc.item6.value = 0;
   var hitem6 = document.calc.item6.value = 0;
   var bitem6 = document.calc.item6.value = 0;
 }
 if (document.calc.item7.checked) {
   var witem7 = document.calc.item7.value = item7cal;
   var fitem7 = document.calc.item7.value = item7fat;
   var pitem7 = document.calc.item7.value = item7pro;
   var citem7 = document.calc.item7.value = item7car;
   var sitem7 = document.calc.item7.value = item7sod;
   var hitem7 = document.calc.item7.value = item7cho;
   var bitem7 = document.calc.item7.value = item7fib;
 } else {
   var witem7 = document.calc.item7.value = 0;
   var fitem7 = document.calc.item7.value = 0;
   var pitem7 = document.calc.item7.value = 0;
   var citem7 = document.calc.item7.value = 0;
   var sitem7 = document.calc.item7.value = 0;
   var hitem7 = document.calc.item7.value = 0;
   var bitem7 = document.calc.item7.value = 0;
 }
 if (document.calc.item8.checked) {
   var witem8 = document.calc.item8.value = item8cal;
   var fitem8 = document.calc.item8.value = item8fat;
   var pitem8 = document.calc.item8.value = item8pro;
   var citem8 = document.calc.item8.value = item8car;
   var sitem8 = document.calc.item8.value = item8sod;
   var hitem8 = document.calc.item8.value = item8cho;
   var bitem8 = document.calc.item8.value = item8fib;
 } else {
   var witem8 = document.calc.item8.value = 0;
   var fitem8 = document.calc.item8.value = 0;
   var pitem8 = document.calc.item8.value = 0;
   var citem8 = document.calc.item8.value = 0;
   var sitem8 = document.calc.item8.value = 0;
   var hitem8 = document.calc.item8.value = 0;
   var bitem8 = document.calc.item8.value = 0;
 }
 if (document.calc.item9.checked) {
   var witem9 = document.calc.item9.value = item9cal;
   var fitem9 = document.calc.item9.value = item9fat;
   var pitem9 = document.calc.item9.value = item9pro;
   var citem9 = document.calc.item9.value = item9car;
   var sitem9 = document.calc.item9.value = item9sod;
   var hitem9 = document.calc.item9.value = item9cho;
   var bitem9 = document.calc.item9.value = item9fib;
 } else {
   var witem9 = document.calc.item9.value = 0;
   var fitem9 = document.calc.item9.value = 0;
   var pitem9 = document.calc.item9.value = 0;
   var citem9 = document.calc.item9.value = 0;
   var sitem9 = document.calc.item9.value = 0;
   var hitem9 = document.calc.item9.value = 0;
   var bitem9 = document.calc.item9.value = 0;
 }
 if (document.calc.item10.checked) {
   var witem10 = document.calc.item10.value = item10cal;
   var fitem10 = document.calc.item10.value = item10fat;
   var pitem10 = document.calc.item10.value = item10pro;
   var citem10 = document.calc.item10.value = item10car;
   var sitem10 = document.calc.item10.value = item10sod;
   var hitem10 = document.calc.item10.value = item10cho;
   var bitem10 = document.calc.item10.value = item10fib;
 } else {
   var witem10 = document.calc.item10.value = 0;
   var fitem10 = document.calc.item10.value = 0;
   var pitem10 = document.calc.item10.value = 0;
   var citem10 = document.calc.item10.value = 0;
   var sitem10 = document.calc.item10.value = 0;
   var hitem10 = document.calc.item10.value = 0;
   var bitem10 = document.calc.item10.value = 0;
 }
 if (document.calc.item11.checked) {
   var witem11 = document.calc.item11.value = item11cal;
   var fitem11 = document.calc.item11.value = item11fat;
   var pitem11 = document.calc.item11.value = item11pro;
   var citem11 = document.calc.item11.value = item11pro;
   var sitem11 = document.calc.item11.value = item11sod;
   var hitem11 = document.calc.item11.value = item11cho;
   var bitem11 = document.calc.item11.value = item11fib;
 } else {
   var witem11 = document.calc.item11.value = 0;
   var fitem11 = document.calc.item11.value = 0;
   var pitem11 = document.calc.item11.value = 0;
   var citem11 = document.calc.item11.value = 0;
   var sitem11 = document.calc.item11.value = 0;
   var hitem11 = document.calc.item11.value = 0;
   var bitem11 = document.calc.item11.value = 0;
 }
 if (document.calc.item12.checked) {
   var witem12 = document.calc.item12.value = item12cal;
   var fitem12 = document.calc.item12.value = item12fat;
   var pitem12 = document.calc.item12.value = item12pro;
   var citem12 = document.calc.item12.value = item12car;
   var sitem12 = document.calc.item12.value = item12sod;
   var hitem12 = document.calc.item12.value = item12cho;
   var bitem12 = document.calc.item12.value = item12fib;
 } else {
   var witem12 = document.calc.item12.value = 0;
   var fitem12 = document.calc.item12.value = 0;
   var pitem12 = document.calc.item12.value = 0;
   var citem12 = document.calc.item12.value = 0;
   var sitem12 = document.calc.item12.value = 0;
   var hitem12 = document.calc.item12.value = 0;
   var bitem12 = document.calc.item12.value = 0;
 }
 if (document.calc.item13.checked) {
   var witem13 = document.calc.item13.value = item13cal;
   var fitem13 = document.calc.item13.value = item13fat;
   var pitem13 = document.calc.item13.value = item13pro;
   var citem13 = document.calc.item13.value = item13car;
   var sitem13 = document.calc.item13.value = item13sod;
   var hitem13 = document.calc.item13.value = item13cho;
   var bitem13 = document.calc.item13.value = item13fib;
 } else {
   var witem13 = document.calc.item13.value = 0;
   var fitem13 = document.calc.item13.value = 0;
   var pitem13 = document.calc.item13.value = 0;
   var citem13 = document.calc.item13.value = 0;
   var sitem13 = document.calc.item13.value = 0;
   var hitem13 = document.calc.item13.value = 0;
   var bitem13 = document.calc.item13.value = 0;
 }
 if (document.calc.item14.checked) {
   var witem14 = document.calc.item14.value = item14cal;
   var fitem14 = document.calc.item14.value = item14fat;
   var pitem14 = document.calc.item14.value = item14pro;
   var citem14 = document.calc.item14.value = item14car;
   var sitem14 = document.calc.item14.value = item14sod;
   var hitem14 = document.calc.item14.value = item14cho;
   var bitem14 = document.calc.item14.value = item14fib;
 } else {
   var witem14 = document.calc.item14.value = 0;
   var fitem14 = document.calc.item14.value = 0;
   var pitem14 = document.calc.item14.value = 0;
   var citem14 = document.calc.item14.value = 0;
   var sitem14 = document.calc.item14.value = 0;
   var hitem14 = document.calc.item14.value = 0;
   var bitem14 = document.calc.item14.value = 0;
 }
 if (document.calc.item15.checked) {
   var witem15 = document.calc.item15.value = item15cal;
   var fitem15 = document.calc.item15.value = item15fat;
   var pitem15 = document.calc.item15.value = item15pro;
   var citem15 = document.calc.item15.value = item15car;
   var sitem15 = document.calc.item15.value = item15sod;
   var hitem15 = document.calc.item15.value = item15cho;
   var bitem15 = document.calc.item15.value = item15fib;
 } else {
   var witem15 = document.calc.item15.value = 0;
   var fitem15 = document.calc.item15.value = 0;
   var pitem15 = document.calc.item15.value = 0;
   var citem15 = document.calc.item15.value = 0;
   var sitem15 = document.calc.item15.value = 0;
   var hitem15 = document.calc.item15.value = 0;
   var bitem15 = document.calc.item15.value = 0;
 }
 if (document.calc.item16.checked) {
   var witem16 = document.calc.item16.value = item16cal;
   var fitem16 = document.calc.item16.value = item16fat;
   var pitem16 = document.calc.item16.value = item16pro;
   var citem16 = document.calc.item16.value = item16car;
   var sitem16 = document.calc.item16.value = item16sod;
   var hitem16 = document.calc.item16.value = item16cho;
   var bitem16 = document.calc.item16.value = item16fib;
 } else {
   var witem16 = document.calc.item16.value = 0;
   var fitem16 = document.calc.item16.value = 0;
   var pitem16 = document.calc.item16.value = 0;
   var citem16 = document.calc.item16.value = 0;
   var sitem16 = document.calc.item16.value = 0;
   var hitem16 = document.calc.item16.value = 0;
   var bitem16 = document.calc.item16.value = 0;
 }
 if (document.calc.item17.checked) {
   var witem17 = document.calc.item17.value = item17cal;
   var fitem17 = document.calc.item17.value = item17fat;
   var pitem17 = document.calc.item17.value = item17pro;
   var citem17 = document.calc.item17.value = item17car;
   var sitem17 = document.calc.item17.value = item17sod;
   var hitem17 = document.calc.item17.value = item17cho;
   var bitem17 = document.calc.item17.value = item17fib;
 } else {
   var witem17 = document.calc.item17.value = 0;
   var fitem17 = document.calc.item17.value = 0;
   var pitem17 = document.calc.item17.value = 0;
   var citem17 = document.calc.item17.value = 0;
   var sitem17 = document.calc.item17.value = 0;
   var hitem17 = document.calc.item17.value = 0;
   var bitem17 = document.calc.item17.value = 0;
 }
 if (document.calc.item18.checked) {
   var witem18 = document.calc.item18.value = item18cal;
   var fitem18 = document.calc.item18.value = item18fat;
   var pitem18 = document.calc.item18.value = item18pro;
   var citem18 = document.calc.item18.value = item18car;
   var sitem18 = document.calc.item18.value = item18sod;
   var hitem18 = document.calc.item18.value = item18cho;
   var bitem18 = document.calc.item18.value = item18fib;
 } else {
   var witem18 = document.calc.item18.value = 0;
   var fitem18 = document.calc.item18.value = 0;
   var pitem18 = document.calc.item18.value = 0;
   var citem18 = document.calc.item18.value = 0;
   var sitem18 = document.calc.item18.value = 0;
   var hitem18 = document.calc.item18.value = 0;
   var bitem18 = document.calc.item18.value = 0;
 }
 if (document.calc.item19.checked) {
   var witem19 = document.calc.item19.value = item19cal;
   var fitem19 = document.calc.item19.value = item19fat;
   var pitem19 = document.calc.item19.value = item19pro;
   var citem19 = document.calc.item19.value = item19car;
   var sitem19 = document.calc.item19.value = item19sod;
   var hitem19 = document.calc.item19.value = item19cho;
   var bitem19 = document.calc.item19.value = item19fib;
 } else {
   var witem19 = document.calc.item19.value = 0;
   var fitem19 = document.calc.item19.value = 0;
   var pitem19 = document.calc.item19.value = 0;
   var citem19 = document.calc.item19.value = 0;
   var sitem19 = document.calc.item19.value = 0;
   var hitem19 = document.calc.item19.value = 0;
   var bitem19 = document.calc.item19.value = 0;
 }
 if (document.calc.item20.checked) {
   var witem20 = document.calc.item20.value = item20cal;
   var fitem20 = document.calc.item20.value = item20fat;
   var pitem20 = document.calc.item20.value = item20pro;
   var citem20 = document.calc.item20.value = item20car;
   var sitem20 = document.calc.item20.value = item20sod;
   var hitem20 = document.calc.item20.value = item20cho;
   var bitem20 = document.calc.item20.value = item20fib;
 } else {
   var witem20 = document.calc.item20.value = 0;
   var fitem20 = document.calc.item20.value = 0;
   var pitem20 = document.calc.item20.value = 0;
   var citem20 = document.calc.item20.value = 0;
   var sitem20 = document.calc.item20.value = 0;
   var hitem20 = document.calc.item20.value = 0;
   var bitem20 = document.calc.item20.value = 0;
 }
 if (document.calc.item21.checked) {
   var witem21 = document.calc.item21.value = item21cal;
   var fitem21 = document.calc.item21.value = item21fat;
   var pitem21 = document.calc.item21.value = item21pro;
   var citem21 = document.calc.item21.value = item21car;
   var sitem21 = document.calc.item21.value = item21sod;
   var hitem21 = document.calc.item21.value = item21cho;
   var bitem21 = document.calc.item21.value = item21fib;
 } else {
   var witem21 = document.calc.item21.value = 0;
   var fitem21 = document.calc.item21.value = 0;
   var pitem21 = document.calc.item21.value = 0;
   var citem21 = document.calc.item21.value = 0;
   var sitem21 = document.calc.item21.value = 0;
   var hitem21 = document.calc.item21.value = 0;
   var bitem21 = document.calc.item21.value = 0;
 }
 if (document.calc.item22.checked) {
   var witem22 = document.calc.item22.value = item22cal;
   var fitem22 = document.calc.item22.value = item22fat;
   var pitem22 = document.calc.item22.value = item22pro;
   var citem22 = document.calc.item22.value = item22car;
   var sitem22 = document.calc.item22.value = item22sod;
   var hitem22 = document.calc.item22.value = item22cho;
   var bitem22 = document.calc.item22.value = item22fib;
 } else {
   var witem22 = document.calc.item22.value = 0;
   var fitem22 = document.calc.item22.value = 0;
   var pitem22 = document.calc.item22.value = 0;
   var citem22 = document.calc.item22.value = 0;
   var sitem22 = document.calc.item22.value = 0;
   var hitem22 = document.calc.item22.value = 0;
   var bitem22 = document.calc.item22.value = 0;
 }
 if (document.calc.item23.checked) {
   var witem23 = document.calc.item23.value = item23cal;
   var fitem23 = document.calc.item23.value = item23fat;
   var pitem23 = document.calc.item23.value = item23pro;
   var citem23 = document.calc.item23.value = item23car;
   var sitem23 = document.calc.item23.value = item23sod;
   var hitem23 = document.calc.item23.value = item23cho;
   var bitem23 = document.calc.item23.value = item23fib;
 } else {
   var witem23 = document.calc.item23.value = 0;
   var fitem23 = document.calc.item23.value = 0;
   var pitem23 = document.calc.item23.value = 0;
   var citem23 = document.calc.item23.value = 0;
   var sitem23 = document.calc.item23.value = 0;
   var hitem23 = document.calc.item23.value = 0;
   var bitem23 = document.calc.item23.value = 0;
 }
 if (document.calc.item24.checked) {
   var witem24 = document.calc.item24.value = item24cal;
   var fitem24 = document.calc.item24.value = item24fat;
   var pitem24 = document.calc.item24.value = item24pro;
   var citem24 = document.calc.item24.value = item24car;
   var sitem24 = document.calc.item24.value = item24sod;
   var hitem24 = document.calc.item24.value = item24cho;
   var bitem24 = document.calc.item24.value = item24fib;
 } else {
   var witem24 = document.calc.item24.value = 0;
   var fitem24 = document.calc.item24.value = 0;
   var pitem24 = document.calc.item24.value = 0;
   var citem24 = document.calc.item24.value = 0;
   var sitem24 = document.calc.item24.value = 0;
   var hitem24 = document.calc.item24.value = 0;
   var bitem24 = document.calc.item24.value = 0;
 }
 if (document.calc.item25.checked) {
   var witem25 = document.calc.item25.value = item25cal;
   var fitem25 = document.calc.item25.value = item25fat;
   var pitem25 = document.calc.item25.value = item25pro;
   var citem25 = document.calc.item25.value = item25car;
   var sitem25 = document.calc.item25.value = item25sod;
   var hitem25 = document.calc.item25.value = item25cho;
   var bitem25 = document.calc.item25.value = item25fib;
 } else {
   var witem25 = document.calc.item25.value = 0;
   var fitem25 = document.calc.item25.value = 0;
   var pitem25 = document.calc.item25.value = 0;
   var citem25 = document.calc.item25.value = 0;
   var sitem25 = document.calc.item25.value = 0;
   var hitem25 = document.calc.item25.value = 0;
   var bitem25 = document.calc.item25.value = 0;
 }
 if (document.calc.item26.checked) {
   var witem26 = document.calc.item26.value = item26cal;
   var fitem26 = document.calc.item26.value = item26fat;
   var pitem26 = document.calc.item26.value = item26pro;
   var citem26 = document.calc.item26.value = item26car;
   var sitem26 = document.calc.item26.value = item26sod;
   var hitem26 = document.calc.item26.value = item26cho;
   var bitem26 = document.calc.item26.value = item26fib;
 } else {
   var witem26 = document.calc.item26.value = 0;
   var fitem26 = document.calc.item26.value = 0;
   var pitem26 = document.calc.item26.value = 0;
   var citem26 = document.calc.item26.value = 0;
   var sitem26 = document.calc.item26.value = 0;
   var hitem26 = document.calc.item26.value = 0;
   var bitem26 = document.calc.item26.value = 0;
 }
 if (document.calc.item27.checked) {
   var witem27 = document.calc.item27.value = item27cal;
   var fitem27 = document.calc.item27.value = item27fat;
   var pitem27 = document.calc.item27.value = item27pro;
   var citem27 = document.calc.item27.value = item27car;
   var sitem27 = document.calc.item27.value = item27sod;
   var hitem27 = document.calc.item27.value = item27cho;
   var bitem27 = document.calc.item27.value = item27fib;
 } else {
   var witem27 = document.calc.item27.value = 0;
   var fitem27 = document.calc.item27.value = 0;
   var pitem27 = document.calc.item27.value = 0;
   var citem27 = document.calc.item27.value = 0;
   var sitem27 = document.calc.item27.value = 0;
   var hitem27 = document.calc.item27.value = 0;
   var bitem27 = document.calc.item27.value = 0;
 }
 var witem = witem1 + witem2 + witem3 + witem4 + witem5 + witem6 + witem7 + witem8 + witem9 + witem10 + witem11 + witem12 + witem13 + witem14 + witem15 + witem16 + witem17 + witem18 + witem19 + witem20 + witem21 + witem22 + witem23 + witem24 + witem25 + witem26 + witem27;
 var fitem = fitem1 + fitem2 + fitem3 + fitem4 + fitem5 + fitem6 + fitem7 + fitem8 + fitem9 + fitem10 + fitem11 + fitem12 + fitem13 + fitem14 + fitem15 + fitem16 + fitem17 + fitem18 + fitem19 + fitem20 + fitem21 + fitem22 + fitem23 + fitem24 + fitem25 + fitem26 + fitem27;
 var pitem = pitem1 + pitem2 + pitem3 + pitem4 + pitem5 + pitem6 + pitem7 + pitem8 + pitem9 + pitem10 + pitem11 + pitem12 + pitem13 + pitem14 + pitem15 + pitem16 + pitem17 + pitem18 + pitem19 + pitem20 + pitem21 + pitem22 + pitem23 + pitem24 + pitem25 + pitem26 + pitem27;
 var citem = citem1 + citem2 + citem3 + citem4 + citem5 + citem6 + citem7 + citem8 + citem9 + citem10 + citem11 + citem12 + citem13 + citem14 + citem15 + citem16 + citem17 + citem18 + citem19 + citem20 + citem21 + citem22 + citem23 + citem24 + citem25 + citem26 + citem27;
 var sitem = sitem1 + sitem2 + sitem3 + sitem4 + sitem5 + sitem6 + sitem7 + sitem8 + sitem9 + sitem10 + sitem11 + sitem12 + sitem13 + sitem14 + sitem15 + sitem16 + sitem17 + sitem18 + sitem19 + sitem20 + sitem21 + sitem22 + sitem23 + sitem24 + sitem25 + sitem26 + sitem27;
 var hitem = hitem1 + hitem2 + hitem3 + hitem4 + hitem5 + hitem6 + hitem7 + hitem8 + hitem9 + hitem10 + hitem11 + hitem12 + hitem13 + hitem14 + hitem15 + hitem16 + hitem17 + hitem18 + hitem19 + hitem20 + hitem21 + hitem22 + hitem23 + hitem24 + hitem25 + hitem26 + hitem27;
 var bitem = bitem1 + bitem2 + bitem3 + bitem4 + bitem5 + bitem6 + bitem7 + bitem8 + bitem9 + bitem10 + bitem11 + bitem12 + bitem13 + bitem14 + bitem15 + bitem16 + bitem17 + bitem18 + bitem19 + bitem20 + bitem21 + bitem22 + bitem23 + bitem24 + bitem25 + bitem26 + bitem27;
 
 document.calc.cal.value = Math.round(witem*10)/10
 document.calc.fat.value = Math.round(fitem*10)/10
 document.calc.pro.value = Math.round(pitem*10)/10
 document.calc.car.value = Math.round(citem*10)/10
 document.calc.sod.value = Math.round(sitem*10)/10
 document.calc.cho.value = Math.round(hitem*10)/10
 document.calc.fib.value = Math.round(bitem*10)/10
 
}
