var fDesc=new Array(); fDesc[0] = "This is an OCX control for software developers which can handle FTP servers directly from your program. The control can be run from VB6, VB.NET, C++, ACCESS and any environment that support the ActiveX technique. The control supports all FTP requests, such as: making connection with user name and password, make a dir, delete a dir, rename a file, rename a dir, download a file, upload a file, with BINARY(image) or ASCII(text) mode, and much more."; 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 = ''; } }