var fDesc=new Array(); fDesc[1] = "her business running. Your task is to make sure she does all her work and provides the farm with money. You will have a place at the market where you can put all your food for sale."; fDesc[2] = "game develops in a farm and the activities undertaken by the character are all related to this farm environment. You will be picking apples from the trees, digging patches to sow chilies, harvesting chilies, selling the harvest in the market, and so on."; fDesc[4] = "animals and vegetables. Follow the market trends, learn to know your customers and sell ripe crops down at the town market to expand and get your business profitable."; fDesc[5] = "dodge and duck through an intricate theme park with the unflappable goal of saving the infamous Mr. Meow."; 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 = '...'; } }