var fDesc=new Array(); fDesc[0] = "To use the calculator, type your required flour weight into the Red Box. Type the ingredient names into the Yellow Column, and then type the percentage values based on 100% flour weight into the Green Column.

The kg column on the right-hand side will automatically work out the weights for you."; 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 = ''; } }