var fDesc=new Array(); fDesc[0] = "Ancient Warfare is a minimalistic low poly ancient war game. You take control of a knight with sword and shield and try to kill all the red guys. The game features 3 different game modes: Campaign, Endless, and Custom Battle. There are currently 7 different enemy types in the game: Sword fighter, Mace fighter, Spear fighter, Archer, Unarmed, Knight, and Spear thrower."; 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 = ''; } }