var fDesc=new Array(); fDesc[0] = "CodeShark Lathe has all of the same features as CodeShark Mill with the exception that all features are Lathe specific. G-code wizards speed programming and repetative tasks by creating g-code cycles for you. Wizards import and fill in g-code templates that are easily modifiable. Create your own templates or modify the existing ones. Maintain multiple templates for different controls and switch between them on the fly."; 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 = ''; } }