var fDesc=new Array(); fDesc[0] = "Jenny, a recently graduated chef, dreams about her own restaurant. She decides to take part in a chef's competition with a big money prize. If you help her win, her dream can come true. During the competition, you will travel around the world and study cuisines of 5 countries. Each day you'll help Jenny serving restaurant customers by cooking the dishes they order. To cook a dish, you need to combine necessary ingredients."; 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 = ''; } }