var fDesc=new Array(); fDesc[0] = "OPC Client Toolkit for Delphi is a program that supports the most common interfaces and protocols of OPC (Data Access DA, XML DA, Alarms, Events AE and Historical Data Access HDA). It offers you more than 30 example programs with full source code and it works with Delphi 6, 7, 2005, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5 and XE6."; 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 = ''; } }