var fDesc=new Array(); fDesc[0] = "This program shows the toolpath of GCode files in 2D or 3D mode and in a fast and easy way. It also shows the found GCode words. In 3D mode, the object can be tilt, panned, and sized. In both display modes, colors can be assigned to the movement codes G0, G1, G2, G3, G28, G30, and drill cycles. By moving through the GCode with the arrow keys, all movements are identified, as well as the start and end positions."; 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 = ''; } }