var fDesc=new Array(); fDesc[0] = "LoopCAD 2014 is a complete radiant heating and snow melt design program that allows you to make heating and cooling load calculations, 2D and 3D drawing, automated loop generation and full hydronic calculations. You can create floorplan drawings using the predefined rooms, doors, windows and other objects."; 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 = ''; } }