var fDesc=new Array(); fDesc[0] = "Our CP1E series offers all functionality you need to control relatively simple applications, including outstanding positioning capability. All CP1E CPUs offer high-speed USB for quick programming. The “Easy Input Editor” software feature allows faster programming by using an intuitive ladder editor to create an organized application program."; 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 = ''; } }