var fDesc=new Array(); fDesc[0] = "In this game hordes of ancient dinosaurs present a constant threat to your time machine. Just one rogue reptile could render your machine useless and ruin your chances of ever returning home. Your goal in this game is to build towers, collect resources, and use the power of science and technology to protect your time machine."; 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 = ''; } }