var fDesc=new Array(); fDesc[0] = "Word Grid is an interesting game in which you have to form words with the given letters. You will be given 16 letter tiles, and your task is to form words with 3 to 8 letters within the time limit. You can click a correct number of adjacent letters in vertical, horizontal or diagonal directions. Your score will be counted according to the number of words formed and the number of letters in each word; the longer the word, 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 = ''; } }