var fDesc=new Array(); fDesc[0] = "Theseus and the maze is a free exploration game created for speedruns. The goal of the game is to find the exit from the maze and the final score is calculated upon the time needed to reach the exit and the number of gems that you discover (there are 100 in total)."; 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 = ''; } }