var fDesc=new Array(); fDesc[1] = "explosions. You have to join the same kind of jewels, as you do it, they will explode and in that way you will reach points. You will find a lot of precious stone such as ruby, emerald,amber and so on."; fDesc[2] = "new career and travel from city to city to earn the money you need to expand the railroads in this fantastic word adventure."; fDesc[3] = "itself and is always burning? This beautiful screensaver will take you on a journey to the elves’ castle, deep under the ground."; fDesc[4] = "you there. Longer words make more fire to help you beat the opposite train. Get stoking now! And be sure to have lots of free time ahead!"; fDesc[5] = "Divided Nation is the second independent (or standalone) expansion of the American Conquest saga. The main theme of this game is the American Civil War and the independence of Texas from Mexico."; fDesc[6] = "place in an amusement park, next to roller coasters so that the player can experience all the excitement and adventure of a real thrill ride, as is very well depicted in the game name."; 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 = '...'; } }