var fDesc=new Array(); fDesc[0] = "A fun thinking game with amazing AI.
The Coffee Bean Game has simple rules. There are three rows,one with seven coffee bean,one with five and one with three. During your turn you may take as many coffee beans as you like but you can only take from one row at a time. The object of the game is to try to get the other player to take la last bean."; 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 = ''; } }