var fDesc=new Array(); fDesc[0] = "You are a taxi driver and your task is to reach the target distance within the time given as you race along a crowded highway. The ultimate objective of the game is to see how far you can get to obtain the highest score possible. The destination is marked by a red flag at the side of the road. Every time you reach the flag, a new level starts and more time is added to the clock."; 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 = ''; } }