var fDesc=new Array(); fDesc[0] = "You have to manage a rock war. Build generators and troops to defeat the rock enemies and keep your base safe. In order to continue shooting the enemies without being killed you got to move the troops forward and backward as well as you can build a back attack for more help."; 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 = ''; } }