var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to run a simple stopwatch to keep track of time elapsed. There are Start, Lap and Reset buttons. There are also shortcuts: spacebar will start/stop the timer, backspace will reset the timer and the 'L' key will activate the Lap function. Times can be saved as a text or Excel 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 = ''; } }