var fDesc=new Array(); fDesc[0] = "King is a challenging card game, belonging to a class of desktop, logical games. Your aim is to get as more score as you can, having to play against three partners. Each game of King as ten different hands, being six of them to negative points (your score goes down) and four for positives (your score goes up)."; 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 = ''; } }