var fDesc=new Array(); fDesc[0] = "In this simple puzzle you are required fill in a grid with numbers. Normally you would print a puzzle and solve it on paper at your leisure. However you can also solve on screen using the commands move and place mouse cursor on a cell ( no need to click ), enter the number, odd number has even neighbors and more."; 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 = ''; } }