var fDesc=new Array(); fDesc[0] = "This is a freeware computer program, designed for learning purposes, to calculate molar or formula masses. For this reason the calculations are shown together with the result.

Most textbooks include an atomic mass table with values rounded to one or two decimals. For compatibility with answers on examples given in those textbooks McDalton Learning Edition includes the option to use a fixed number of decimals. This may also increase the readability of the output."; 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 = ''; } }