var fDesc=new Array(); fDesc[1] = "amount of points possible in 20 spins. The game presents 3 modes: Classic, Mixed Matrix, and Patterns. You can change backgrounds, keep track of your scores, and control audio. Not available for Mac."; fDesc[2] = "nice graphics, and introduces a quest mode, where you can get lots of variations and levels that make it really addictive."; fDesc[3] = "allows you to play twelve poker hands at once. 5-Card Slingo offers three different game modes, to choose the one that suits your level and rhythm. Moreover, 5-Card Slingo offers an attractive graphics and cool sound effects."; fDesc[4] = "This version of the game is improved and comes with new levels and game modes. The game is very easy to play and there are not a lot of system requirements in order to get it installed and start playing it."; 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 = '...'; } }