var fDesc=new Array();
fDesc[0] = "Building thermal performance calculations are made for two primary reasons. They are made to size and select mechanical equipment or to predict the annual energy consumption of a structure.
While these two tasks are not mutually exclusive, and some programs can handle both tasks, they do tend to be conducted in isolation from each other.";
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 = '';
}
}