var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to count characters for every line inside of a text file. Simply load one or multiple files into the list and click 'Start' to get the total number of characters for each line. For example, a line with Peter will return 5 and a line with Noel will return 4. There is a filter feature in the software that will only find lines containing or not containing certain characters. Finally, there is a sort results feature that will put results in order from highest character count to lowest or vice-versa."; 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 = ''; } }