var fDesc=new Array(); fDesc[0] = "A simple word game, WordScram, involves the player to make words in sixty seconds from the given set of letters. The game shows a grid of randomly selected letters from Urdu alphabets set. The player makes Urdu words by clicking the letters in the grid. Each letter can be used as many times as needed, and the word must belong to Urdu diction. Higher score can be achieved by making many more words."; 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 = ''; } }