var fDesc=new Array(); fDesc[0] = "A lightweight tool that allows you to interactively create graphical elements using the JavaFX Script programming language. It consists of a code editor and a canvas. Whatever you type into the code editor will be displayed in the canvas. It also demonstrates the benefits of JavaFX Script being a statically-typed programming language, providing code-completion and as-you-type validation, in addition to syntax highlighting."; 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 = ''; } }