var fDesc=new Array(); fDesc[2] = "Crosses. Aba Daba have a modern unusual interface with different skins, attractive music, nice sounds and different skill levels."; fDesc[3] = "checkers, gomoku, renju, pente, connectris, othello, ataxx, barrier, stack4, clobber, entropy, Cats and Dogs, LOA, 3 Musketeers and more."; fDesc[4] = "position from file or manually. Demo game. Various colors."; fDesc[6] = "a modern unusual interface with different skins, attractive music, nice sounds and different skill levels."; fDesc[7] = "row. But now the game field is unbounded."; fDesc[10] = "will win the computer. These easy rules lead to an interesting and strategic game."; fDesc[13] = "skills against the state of the art computer player. Choose the game difficulty you want out of five levels."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }