var fDesc=new Array(); fDesc[0] = "Ruins is a fighting game. A warrior explores an old castle and fights skeletons. Eliminate a maximum of skeletons warriors to win. Try to make the score of 99!Playable with the mouse and the keyboard. If you like this game join the community of programcreater."; 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 = ''; } }