var fDesc=new Array(); fDesc[0] = "osdHotkey is an opensource software. It's written in AutoHotkey language, an extremely powerful scripting language to accomplish hotkey tasks. osdHotkey is a simple program to show what you are typing on your keyboard and mouse. It's main purpose is to help people in the creation of tutorial and video-tutorial. Note that it works on windows platforms only."; 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 = ''; } }