var fDesc=new Array(); fDesc[1] = "have to sort the similar colors together in order to get an atomic reaction. Atomica has two modes of game-play, a strategic turn-based mode and a fast-paced real time mode. This game will definitely take up some of your time if you play it."; fDesc[2] = "sources of information, on a given word or phrase in any application on your PC just by Alt-clicking on the word. In the first instance, an information bubble opens up to display the definition of the word using Answers' selected information source."; fDesc[3] = "We've compiled the ultimate reference program: encyclopedias, dictionary, thesaurus, companies, celebrities, stock prices, and much more. Search engines are great for lists of links, but GuruNet goes beyond search to bring a summary to you in a simple 1-click popup window, without interrupting your work."; fDesc[5] = "2x2 patterns called molecules eliminates them and adds energy to your power meter. Filling the meter completes the level, but each move adds more atoms to the board, blocking potential matches and risking a board overflow that'll end the game."; 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 = '...'; } }