var fDesc=new Array(); fDesc[0] = "Shallow Foundation is a program that calculates the bearing capacity of square, rectangular, continuous and circular footings in: granular soils - Phi soils, cohesive soils - C soils, mixed soils - C-phi soils, ground water table at ground surface or any where below that depth. This app can be used by structural engineers since friction angle, cohesion and ground water table are often presented in most soils reports."; 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 = ''; } }