var fDesc=new Array(); fDesc[0] = "Chess4Net Analyzer is an application for viewing, editing and analyzing chess games. It has a chess engine which helps you find best continuations, and it can work with attachable openings DBs which are useful for mastering new openings and improving existing ones in your repertory. It supports a training mode which is useful for thoughtful replay of chess problems, studies and grandmaster games."; 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 = ''; } }