var fDesc=new Array(); fDesc[1] = "paradise. The Sims Castaway Stories offers you two forms to play. In the new and interesting way of directed history , you should achieve certain objectives and In the open-way game mode , you create the Sims and decide how they are going to evolve in their brand new islander home ."; fDesc[3] = "one coconut palm, and he occupies his time with various activities, like fishing, lighting a fire and cooking food, and many other things."; fDesc[4] = "pile. Receive different achievements while you raise your score, and gain new decks after winning at special bonus stages. All you will need to play this game is your mouse."; fDesc[15] = ", run-time library, VxD class library, VxD service wrapper library, sample VxDs, library source code, technical support through e-mail, 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 = '...'; } }