var fDesc=new Array(); fDesc[2] = "icons."; fDesc[3] = "ladder to become Donald Trump’s apprentice. You’ll be representing marketing, customer service and manufacturing savvy, in several businesses challenges. The whole idea of the game is to reach the summit of the corporation with the approval of Mr. Donald Trump."; fDesc[4] = "valuable customers. Play this fast and challenging game."; fDesc[11] = "from a highly unusually organized set of buttons."; fDesc[13] = "Files, Doc. Templates, Multi Doc interface etc"; 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 = '...'; } }