var fDesc=new Array(); fDesc[0] = "General CADD is a Windows OS based computer program that allows you to easily and accurately draw anything you might normally draw with a pencil and paper using your Windows computer instead. General CADD Pro (GCP) is based on a easily understood and remembered 2 letter command structure and includes a powerful Macro language for user customization and program automation."; 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 = ''; } }