var fDesc=new Array(); fDesc[0] = "traininglab is a program that offers you an exact documentation of your training session. A variety of functions help you to stay up to date and to optimize your athletic development. You can plan your trainings sessions for a proper preparation for your season goal – no matter if it is a marathon, an Olympic Ironman or a sprint bike race."; 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 = ''; } }