var fDesc=new Array(); fDesc[0] = "Greta analyses the stability of a gravity retaining wall and determines the bending moments and shear forces within the wall. The program calculates pressures acting on the wall based on earth pressure coefficients behind and in front of the wall either directly specified by the user, or calculated from the soil properties based on the methods in CIRIA C517 or Eurocode 7"; 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 = ''; } }