var fDesc=new Array(); fDesc[0] = "PC Machine Edition is a Runtime PC licence for any application. The program is a Runtime licence that allows to run on PC any project made in the Polymath Advanced programming software. 4 versions of Runtime licences that differ by the number of the variables available: 512, 1024, 2048 or 4096."; 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 = ''; } }