var fDesc=new Array(); fDesc[0] = "This program prepares a Hexafit word puzzle. You can print the puzzle and the solution on a page. The puzzle is composed of 19 interlocking hexagons. Three sides of outer periphery hexagons, and all six of internal hexagons are interlocked. Each of 19 hexagons, or 19 cells is divided into 6 parts."; 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 = ''; } }