var fDesc=new Array(); fDesc[0] = "In this game there will be a circular path with a cross path inside. The object of this game is to move all your pieces around the path once. By default the pieces shall move around the circular path, but if a piece lands on an intersection, then you can choose to move the piece into the cross path as a shortcut. If the piece further lands on the center of the cross, then you can choose to branch into another shortcut again. Before you move you need to throw 4 sticks to decide the number of steps to move. When 1, 2, 3, or 4 sticks landed face up, then you can move 1, 2, 3, 4 steps respectively. If none of the sticks face up, then you can move 5 steps. If you have 4 or 0 face up, then you can throw again, up to three times. After throwing you can then move the pieces, for example if you threw a 4 and then a 2, then you can move a piece by 2 (or 4) steps and then another (or the same) piece by 4 (or 2 steps). If 2 of your pieces occupy the same space, then they can move together. If your piece lands on a space occupied by opponent pieces, then those pieces are knocked off and should start from the beginning again. The player who first moves all the pieces around the path and out of the board is the winner."; 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 = ''; } }