var fDesc=new Array(); fDesc[0] = "Estimax Pro makes it easy to prepare estimates of different items required for your construction project. This application can scan objects like windows, doors, columns etc. from ZWCAD/AutoCAD drawings and automatically add them to your list. It can also calculate the material, labor and machinery requirements for each work and its rate."; 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 = ''; } }