var fDesc=new Array(); fDesc[1] = "work in a restaurant and keep costumers happy. You must be fast and considered with the people that arrive to your place, sit them down, take orders, serve food, clean and give them their bills to pay. You will enjoy a lot this experience and this great fun game."; fDesc[2] = "themes - Rich graphics artwork - 6 episodes with something new on each one - Post your personal scores to Internet"; fDesc[4] = "guide him through each level - pushing rocks and smashing crates along the way?"; fDesc[6] = "before the sunset, as the supervisors are getting more and more impatient."; fDesc[8] = "of the game you have a chest of money and a chance to win more! Enjoy the style of the game and its settings, the best graphics and huge winnings!"; 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 = '...'; } }