var fDesc=new Array(); fDesc[0] = "EucliDraw is a program that draws figures of the plane Euclidean geometry. It simulates the paper surface, the ruler, the compass and dozens of other specialized tools, that enable you to draw complicated figures, instantly and with high precision. Also, it embodies an integrated programming environment in which you can script and compile tools of your own invention."; 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 = ''; } }