var fDesc=new Array(); fDesc[0] = "Hex is played on a diamond-shaped board made up of hexagons. The number of hexagons may vary, but the board usually has 11 on each edge. Two top and bottom opposite sides of the diamond are labeled red, while the hexagons at the left side and right side are green. One player plays with green pieces while other with red. The players alternatively place one of their pieces on any one of the hexagons, provided the cell is not already occupied by another piece."; 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 = ''; } }