var fDesc=new Array(); fDesc[0] = "BOLTCALC is a specialized program for determining whether or not a bolted joint will successfully sustain the forces acting it. If the joint is being designed it can estimate the size of bolt required for the application. Once the bolt size has been estimated, or details of an existing joint have been entered, detailed calculations can be performed."; 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 = ''; } }