var fDesc=new Array(); fDesc[0] = "HostageMaster is a free Windows program that allows you to play Hostage Chess against a computer. As with regular chess, the goal of the game is to checkmate your opponent's king. When you capture your opponent's piece, put it at your side of the board, at your right-hand side. This is the prison where pieces are temporarily placed before they can return to the game."; 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 = ''; } }