var fDesc=new Array(); fDesc[0] = "Cyclic 1D is an Internet-based nonlinear Finite Element program for execution of one-dimensional site amplification and liquefaction simulations (for level as well as mildly inclined sites). Here, You can build and analyze your own soil profiles, and view and download the computational results."; 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 = ''; } }