var fDesc=new Array(); fDesc[0] = "sWords is one of many varieties of word puzzles available today. This program prepares a sWords puzzle. You can print the puzzle and the solution on a page. Purpose of this puzzle is to find and place 11 words on a s-shaped grid. Each word around a cell is of 6-letters, 2 of these letters overlap with the adjacent cell. Letters are placed clockwise."; 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 = ''; } }