var fDesc=new Array(); fDesc[0] = "OptiTools Studio is a program that lets you program the Variable Frequency Drives (VFDs), and its associated PLC controllers. Simple function blocks make PLC programming easier. You can also make use of advanced 3 phase drive control methods. This application lets you print, upload, ownload, or save the parameter lists, highlight the parameter lists, 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 = ''; } }