var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to count the number of sentences in a piece of text. Text can be loaded from a file or pasted from the clipboard. The user can specify the characters that separate sentences (i.e. "." "!" "?") There are check boxes to include Enter and/or Tab, and there is a button to choose to ignore certain abbreviations that do not indicate the end of a sentence, such as "etc." Results, displayed in the lower pane can be saved as a text file or copied to the clipboard for pasting."; 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 = ''; } }