var fDesc=new Array(); fDesc[0] = "WinXMorph is a free-for-educational-use program for Windows 98, 2000, XP, VISTA, -7 (see requirements) with which realistic still or animated crystal shapes (morphologies) are created from crystallographic data (metric, (hkl) - Miller indices and central distances) as input and *.wrl (VRML V2.0 utf8) files as output, that can be inserted on web pages"; 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 = ''; } }