var fDesc=new Array(); fDesc[0] = "SMTP, POP3 and IMAP component that allows sending and receiving email messages in any .NET language. Written entirely in managed code. Works with .NET 2.0, 3.0, 3.5 and 4.0. with Mail.dll you get IMAP component, POP3 component, SMTP component in a single package."; 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 = ''; } }