var fDesc=new Array(); fDesc[0] = "CaPNotifier is an application that notifies you every time you switch on Caps Lock, Num Lock, or Scroll Lock . A notification pops up in your notification bar and stays there for a few seconds before disappearing, letting you see if your Caps Lock has actually been turned on. The application also allows you to receive notifications for Control, Shift and Alt key presses. You can turn notifications on and off for individual keys in CaPNotifier."; 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 = ''; } }