var fDesc=new Array(); fDesc[0] = "In many ways, MASTAN2 is similar to today's commercially available structural analysis software in functionality. The number of pre- and post-processing options, however, have been limited in order to minimize the amount of time needed for a user to become proficient at its use. The program's linear and nonlinear analysis routines are based on the theoretical and numerical formulations presented in the text Matrix Structural Analysis, 2nd Edition, by McGuire, Gallagher, and Ziemian."; 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 = ''; } }