var fDesc=new Array(); fDesc[0] = "Purple Pen makes it easy to design orienteering courses and their associated control descriptions. You can design your courses visually - directly on any OCAD map. It has a user-friendly interface where you can view the course and the control descriptions at the same time; simply click on the control descriptions to set the correct description for each control. Purple Pen automatically does all the hard 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 = ''; } }