var fDesc=new Array(); fDesc[0] = "In this game there will be two very similar pictures, and you will need to find 5 differences in the 2 pictures. If you cannot find all the differences within the time limit, then you lose the game. You can use hints if you need help, but scores will be deducted. There are a total of 3 levels, the faster you finish a level, the higher the score you have."; 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 = ''; } }