var fDesc=new Array(); fDesc[0] = "The Predator CNC Editor is a popular 32-bit CNC code editor. This app includes a side by side file compare which identifies each G and M code difference and fixes them with a single click of the mouse. The Predator CNC Editor supports up to 64 Megs of code per CNC program. In addition, editing multiple CNC programs at the same time is supported, with the ability to cut, copy, and paste between them."; 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 = ''; } }