var fDesc=new Array(); fDesc[0] = "This program was designed to support calculations of heat losses for the whole building and its individual parts. With this program, you can calculate heat-transfer coefficients (for walls, floors, roofs and flat roofs), heat losses for individual rooms, heat loss for the whole building, heat balance for the apartment building heating period, energy performance certificate, annual energy consumption, radiators selection (nearly 25 000 items)."; 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 = ''; } }