var fDesc=new Array(); fDesc[0] = "OfficeOne AutoDateTime is an addon for Microsoft PowerPoint that allows you to insert current date and time. The addon automatically updates the information with the current system. The date view can be customized using various formats. You can also create slideshows which will show the elapsed time, countdown timer, etc."; 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 = ''; } }