var fDesc=new Array(); fDesc[0] = "Pandat is an integrated computational tool developed on the basis of the CALPHAD (CALculation of PHAse Diagram) approach for multi-component phase diagram calculation and materials property simulation. It has a robust thermodynamic calculation engine, a friendly graphical user interface and a flexible post-calculation table editing function which allows user to plot variety types of diagrams."; 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 = ''; } }