var fDesc=new Array(); fDesc[0] = "Johns Hope's FPlot is an Open Source Windows program for plotting and fitting of measurement data and mathematical functions. Functions can be entered as C# source code, which is similar to C, and are compiled on the fly with the C#-compiler included in .NET. This way you can express any function, no matter how complicated, and your function evaluates at the full speed of any compiled .NET program, there is no slow expression interpreter in between."; 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 = ''; } }