var fDesc=new Array(); fDesc[0] = "Savvy is a set of programs that can be used to design, program, and control drive.web distributed control systems. This allows you to network and operate drives and systems over Ethernet. It provides a simple graphical programming system where you can design control schemes by dragging and dropping graphical function blocks."; 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 = ''; } }