var fDesc=new Array(); fDesc[0] = "This tool is used for easily finding interesting positions in computer chess games. You can also use it to quickly find where engines have blundered in a game. The tool works by extracting moves and scores from the winboard debug file and then using the scores generated by the chess engines to find interesting positions."; 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 = ''; } }