var fDesc=new Array();
fDesc[0] = "XPowder is a widely used program that was created for the operating system WindowsTM, to facilitate the analysis of Powder X-ray diffraction patterns.
This program recognizes files from most diffractometers, and handles a number of simple ASCII formats that can easily be generated for import.
XPowder also lets you acquire data directly from some older diffractometers who did not have proper digital control for Windows operating system.";
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 = '';
}
}