var fDesc=new Array(); fDesc[0] = "You are required to fill a 5x5 grid with numbers 1,2,3 in each row and each column. Two cells in each row and column must therefore be blank. Number cannot be duplicated in a row or a column. You are provide 8 hints. A hint indicates what is the first number in a row or a column. 20,000 puzzles provided with this program."; 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 = ''; } }