var fDesc=new Array(); fDesc[0] = "CrystalSleuth, is capable of analyzing and manipulating both Raman and powder diffraction data sets. Utilizing robust routines, we remove background noise and cosmic ray events from patterns with a convenient interface that also permits comparison of multiple spectra. CrystalSleuth can automatically locate and store peak positions, refine the unit cell from powder diffraction patterns, as well as search/match by referencing peak positions against the online database."; 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 = ''; } }