var fDesc=new Array(); fDesc[1] = "between two photographs. The software works with the help of a well directed wizard which helps the users in a very effective way by means of 4 simple steps."; fDesc[2] = "logic and puzzle games that will test your skills.You will spend hours of entertainment, you will never get tired of playing a single game again. You have 101 game to choose from!"; fDesc[3] = "wallpaper to its original setting when you remove your U3 memory stick."; fDesc[4] = "can earn mega points. Choose from three game modes: classic, logical and timed."; fDesc[7] = "collection to easily swap with other user. Use this utility to view information of all coins of the worlds"; 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 = '...'; } }