var fDesc=new Array(); fDesc[0] = "Let's stand against inflation and unhealthy diet! Acting as a grocery shopper, your goal in the game is to spend as little money as possible while maintaining a balanced diet in the whole week. Each day you will be given a certain budget to purchase food ingredients in order to fulfill the calorie goal of that day. When the game starts, you will receive $100, and you may click to choose a desired food item so that it will be moved to your shopping cart. You may click the shopping cart on the lower right to open the viewing page of your shopping cart, which is divided into two parts. The upper part shows the current items in your cart, and you may click to remove any unwanted item. The lower part displays a food pyramid, which shows the number of items belonging to each of the four food groups, namely Sugar and Fat, Meat/Fish/Milk/Dairy, Vegetables/Fruits, and Grains/Cereals, displaying from top to bottom. Choose the food items carefully according to the optimal proportion of each food group. When the diet is balanced, a message of Healthy will appear at the bottom of the pyramid. If the current food items bring an unbalanced diet, a warning message of Unhealthy, Harmful or Dangerous will pop up, and you may need to select the items again. On the right of the pyramid, you can see the current cost and calories. Click the OK button to close the viewing page of the shopping cart, then accomplish the calorie goal showing on the board at the bottom left corner to proceed to check out. You may also like to purchase the targeted ingredients of that day so as to receive bonus budget and points. Remember not to take too much time when choosing the items as they will be sold out one by one. The game is over if all products are gone."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }