var fDesc=new Array(); fDesc[1] = ", you´ll have to watch out for dangerous puzzle locks. The game has high resolution graphics. It can be played in four modes: Classic, Speed, Zen and Mind Bender, in Rainbow, Giant and Super Chuzzles. You´re awarded with trophies as you win."; fDesc[2] = "and the gift-completion meter will rise. In this game customers are important. To keep customers happy the player must offer them gifts, but if they wait they will become unhappy. The aim of the game is to reach the daily sales goal by selling gifts to customers."; 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 = '...'; } }