var fDesc=new Array(); fDesc[0] = "MatrixMath is a program that allows you to solve linear equations up to 6x6 matrices. The results show the solution and inverse matrices, the determinant, as well as the matrices of determinants and minors. The determinant of matrix is calculated for greater than 3 x 3 matrices."; 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 = ''; } }