var fDesc=new Array();
fDesc[0] = "It is a Turing machine simulator for students, academics, and programming enthusiasts. It enables to program, visualize, debug, run, and log Turing machine algorithms.
Main Features:
-Convenient creating of algorithms, ability to save and load them on/from a disk.
-Fast adding of repetitive data onto the tape.
-Verification of correctness of an alrogithm and tape data.
-Running and debugging in the three modes: normal, single-step, and a quick mode.
-Logging of program’s execution, advanced output statistics.
-The following sample programs are already included with the Turing machine simulator: mathematical addition, subtraction, division, multiplication, getting the square and the cube of a number (i.e. raising to the second and to the third power, respectively), binary counting, straight/flipped copy of text, and palindrome detection.
-Detailed help documentation is included.
-The portable version of Uber Turing Machine is available.";
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 = '';
}
}