var fDesc=new Array(); fDesc[0] = "An add-in for Microsoft Excel 97 or later that converts a value from one set of units to another. It also checks the unit conversion operation to determine if the new units are consistent with the current units. It is very flexible in the type of unit conversions that it can do."; 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 = ''; } }