var fDesc=new Array(); fDesc[0] = "APS Config is a program that contains all tools necessary for programming and testing of user programs, basic diagnostics and a simple online visualization of all operating statuses of the APS 400 system. It can operate with numerous registers (variables) and timers test various status flags of particular system modules and integrated system."; 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 = ''; } }