var fDesc=new Array(); fDesc[0] = "Poly/ML is an implementation of Standard ML for Windows, Linux, and MAC. Poly/ML gets its name because the original implementation was written in a language called Poly. This IDE allows programmers to create Windows applications. You also get a source level debugger with this application."; 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 = ''; } }