var fDesc=new Array(); fDesc[2] = "ancient table, that are scattered around the world. Once you got all pieces, you will have the clue to find the most expensive gem: the \"World Diamond\"."; fDesc[3] = "Link letters to find words hidden in the grid and glorious treasures will dazzle your eyes. Find long words and unleash electrifying power-ups to aid your quest. A word challenge of epic proportions, Acropolis is legendary fun for the entire family"; fDesc[4] = "words hidden in the grid and glorious treasures will dazzle your eyes. Unleash electrifying power-ups to aid your quest finding long words and . Discover all special tile types on your quest through 50 mindbending levels."; fDesc[6] = "or higher required."; fDesc[7] = "higher required."; 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 = '...'; } }