var fDesc=new Array(); fDesc[0] = "Datasqueeze is a graphical interface designed to analyze data from 2D x-ray diffraction detectors. The interface is simple and intuitive, and the program is easy to use even for those who are new to x-ray diffraction analysis. The application is suitable for the analysis of powder diffraction data, diffuse scattering from polymers, or liquid crystals."; 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 = ''; } }