var fDesc=new Array();
fDesc[0] = "- TFCalc is easy to use*
TFcalc is a thin film design software for windows.
- TFCalc is a stable, reliable tool that works on all versions of Windows
- TFCalc has the features that coating designers need
- TFCalc has features that other design programs do not have
- TFCalc allows the user to define an unlimited number materials, substrates, and illuminants
- TFCalc allows layers to have variable index, or to be a mixture of materials";
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 = '';
}
}