var fDesc=new Array(); fDesc[0] = "This is a small but tough puzzle. The layout is that there are three numbers at the top and three rows of 4 numbers each underneath. Each of the three rows has an empty cell. You are required to align three empty cells under one of the three numbers at the top. The number will drop down the empty column if the number is greater than or equal to numbers on the left and right of the empty column."; 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 = ''; } }