var fDesc=new Array(); fDesc[0] = "CANopen Architect EDS allows quick and easy generation and editing of EDS files. Files can be built from scratch or based on one of the versions in the included library. The user interface presents the contents of the EDS file in a tree view, allowing quick and easy editing of any aspect."; 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 = ''; } }