var fDesc=new Array(); fDesc[0] = "BMI Calculator is FREE computer program which calculates your Body Mass Index and Basal Metabolic Rate and tell you if you are underweight, normal, overweight or obese and tells you the amount of calories your body uses to maintain the weight. Those kind of informations are important to have on hand for any dieting plan. BMI Calculator is desktop computer program - its advantage over online BMI and BMR calculators is that it is installed on your computer, you can access it without internet connection, it is lightweight and fast and you can put it on USB or removable disk, and it calculates BOTH - BMR rate and BMI index. This free little program is my effort to help fight growing obesity problem caused by modern way of living."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }