var fDesc=new Array(); fDesc[0] = "Swansoft CNC Simulator is real-time 3D CNC machine system simulation and advanced G-code verification application. It allows the user to simulate all the CNC machine operations and debug NC code using the same platform. The simulator allows the integration of all the preparatory and planning skills into the simulation process, as well as all set-up operations such as determining the workpiece dimensions and its clamping, setting, workpiece coordinate origins, selecting and measuring tools and, finally, loading of tool turrets and magazines."; 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 = ''; } }