var fDesc=new Array(); fDesc[0] = "League of Legends is a competitive online game set in an imaginative world. Gamers take the role of a powerful Summoner, calling forth and controlling brave Champions in battle. League of Legends is an action-RPG, combining elements from both strategy and role playing games. Enter the Fields of Justice with your most trusted allies as you fight for your right to rule the world of Valoran."; 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 = ''; } }