var fDesc=new Array(); fDesc[0] = "My Command Button for .NET is the favorite button component for Winform programmers and developers to enhance the visual in their .NET applications. Over 19 buttons styles like Office 2010, Outlook 2010, Windows 8 METRO, MAC Aqua, Google, Gradient, IE,... All of these can be fully customized easily with colors, special effects on text and image like glow, mirror, fading, shadow. You can set property to be a standard button or a Toggle or Dropdown mode."; 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 = ''; } }