var fDesc=new Array(); fDesc[0] = "Autodesk Inventor 2013 Training is a collection of video lessons that teaches you how to use the Autodesk software. You start with the basics and progressively build a strong understanding of how the commands work as well as how to use them effectively. They're designed to help you maximize your productivity and the quality of your work."; 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 = ''; } }