var fDesc=new Array(); fDesc[1] = "game is to eliminate pieces from a pile by selecting two pieces with the same drawing. To be able to eliminate pieces they can“t have another piece over them. Game ends when all of the pieces are eliminated from the pile or when the time runs out."; fDesc[2] = "travel around the world discovering funny facts about each city you visit. Design your own layouts or customize the game with the additional modes. Listen your own music while you play Mah Jong Adventures."; fDesc[3] = "Your goal is to recover stolen Egyptian treasures by matching two identical tiles, making them disappear from the board."; fDesc[4] = "Beat the time pulling out all the pair of tiles. Remember you can only put out identical tiles by pairs. Enjoy and excercise your mind."; fDesc[5] = "playing. Download Hotel Mahjong Deluxe and play on your PC any time you want, whether or not you're online."; fDesc[6] = "recover that part of your childhood, playing with this great collection of board games. They have been put together under the name of Bicycle Board Games. All the games included here are great board entertainment games classic"; fDesc[7] = "story which makes the game more attractive. The game includes three game modes: Ancient Tales mode, which allows you to solve wonderful Mahjong puzzles as you are told five dramatically narrated traditional Chinese tales..."; fDesc[9] = "hard to know how the original looks like. Now you have the original in front of you."; fDesc[10] = "you must defeat the lords of the underworld and their dark plans for humanity."; fDesc[12] = "JongPuzzle is the mah jongg - like tile solitaire game for Windows. It is a fun puzzle game like mah jongg."; fDesc[15] = "software with a simple to use interface. The program is designed to predict your fortune for a particular day."; 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 = '...'; } }