var fDesc=new Array(); fDesc[0] = "You are required to clear the entire column above the red arrow. Grid is populated with horizontal (green) and vertical shapes (blue). Move these shapes around to get the red arrow up and out. Grid size is 6x6 to 20x20. 20,000 puzzles with solutions are 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 = ''; } }