var fDesc=new Array(); fDesc[0] = "PTCLab is an abbreviation of phase transformation crystallography lab. The purpose of this program is to calculate the phase transformation crystallography after a phase transformation and represent the results in a graphical way such as in stereographic projection. The lattice matching near the interface, the superimposed diffraction patterns and so on can be readily simulated with present program. This program is free, open source and runnable on multiple platforms."; 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 = ''; } }