var fDesc=new Array(); fDesc[0] = "TPI 3D Viewer is a software analysis for golf players. With this program you can analyse movements, shots, speed, accuracy through program interface. The viewer can also play simulation and you can watch in real time the movement a golf player does it while the shot is being prepared."; 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 = ''; } }