var fDesc=new Array(); fDesc[0] = "AVD Mass and Volume Calculator is just the thing for measuring mathematics and physical parameters of composite objects in 3-D. It calculates weight, volume and mass for the figures of various shapes: prism, cylinder, cone, pyramid, sphere, water tank. The process of calculation is quite simple: after you select the object's shape, just define the sizes with the number of parts and press "Calculate" button to get the result."; 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 = ''; } }