var fDesc=new Array(); fDesc[0] = "SuperBeam 6 is aimed at architects, surveyors, engineers and other construction professionals who need to design or check steel and wood beams and columns typically used in smaller scale building works. With this program you can calculate required member sizes quickly and easily and print out clear and easy-to-understand calculation sheets."; 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 = ''; } }