var fDesc=new Array(); fDesc[0] = "GP-Viewer EX software is an ideal tool to service and support multiple locations from the main office. This solution allows monitoring machine operators from a remote PC. With this application, you can see exactly what they see displayed on the HMI screen."; 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 = ''; } }