var fDesc=new Array(); fDesc[0] = "Dash Diag III is a dashboard programmer designed to work with the Dashdiag 3 device. It is designed to change the KM data and it allows to set up the state of KM without taking it into pieces. It also provides information regarding the connection lines and pictures of dashboards with scheme combination."; 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 = ''; } }