var fDesc=new Array(); fDesc[0] = "This simple demo allows the user to experiment with a wide variety of 2-dimensional triangle groups. In the process the users gains a direct experience the three different standard planar metric geometries -- euclidean, elliptic, and hyperbolic. The left and right arrow keys cycle through the archetypal groups 236, 235 and 237, while a wider choice of groups is available under the "Groups" menu."; 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 = ''; } }