var fDesc=new Array(); fDesc[0] = "Free Awale is a game application consisting in two lines of six holes. Every holes contain four seeds at the beginning of the game. When playing, you should take all the seeds of a hole in your line and distribute it in successive holes turning counterclock wise, one seed per hole. Players have to play so as the opponent always has at least one seed. In case it is impossible, the game stops. The winner is the player who has eaten the most seeds."; 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 = ''; } }