var fDesc=new Array(); fDesc[0] = "Tumble Waiter is a cool physics based game of getting the food on the tray to the pig. You have only ten more orders until your shift is over. You must try not to drop the food before you get it to the table. You should deliver the order to the table by building up your speed."; 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 = ''; } }