var fDesc=new Array(); fDesc[0] = "The PI Software Development Kit (PI SDK) is a programming library based on Microsoft’s Component Object Model (COM) used to access PI Servers.The PI SDK uses an object-oriented, hierarchical approach to provide both read and write access to features of the PI Server.The PI SDK runs on 32- and 64-bit Windows platforms and provides access to servers on all PI platforms."; 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 = ''; } }