var fDesc=new Array(); fDesc[0] = "Add-in Express Toys .NET is a free plug-in that adds several useful features to Microsoft Excel. This sample addin is based on Add-in Express for Office and .NET and designed to show how to create Excel add-ins, how to manage add-in toolbars and controls, and how to get access to Excel objects. Add-in Express for Office and .net supports Microsoft Excel 2000, Excel 2002 (XP), Excel 2003, 2007 and Excel 2010."; 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 = ''; } }