var fDesc=new Array(); fDesc[0] = "Slider digital game is an interesting puzzle game. You must click the button and the space adjacent to the button will be moved to the current vacancy. The game is considered complete when the numbers are arranged in the correct order. The less moves you make, the higher your score will be."; 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 = ''; } }