var fDesc=new Array(); fDesc[0] = "AMOBP Commander allows you to control the AM On-Board Programmer. The program is composed of 6 tabs: Main, Dump, CPU, Security, Option, and About. The program is capable of reading and writing with the Flash ROM of the target microcomputer through the ROM image memory."; 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 = ''; } }