var fDesc=new Array(); fDesc[0] = "The game Critical Cricket is in essence: an algorithm. A turing machine, that tests the player's understanding of the game of cricket. It is primarily a game of strategy. The main aim for version 1 has been to create a logical platform that accurately results in a correct cricket score. This is something most other cricket games miss, and in the few that have got this right, the player has very little effect on the game."; 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 = ''; } }