var fDesc=new Array(); fDesc[0] = "In this game you will act as the bus driver and you need to calculate whether the passengers have paid the correct amount. Each time, a group of passenger will pay a single amount of money when they want to leave the bus, and you need to calculate whether the total amount paid is enough or not before that group of passengers leave the bus. If the amount paid is not enough, then you can press the button to close the doors so that they cannot leave the bus without paying proper money. If the amount is enough but you close the doors, then you will be scolded and you will lose a life, on the other hand if the money is not enough and you let the people out, then you will also lose a life. There are 10 levels, each level is more difficult than the previous one."; 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 = ''; } }