var fDesc=new Array(); fDesc[0] = "This small program allows you to take a digital image and digitise a curve or shape on it. You do this by clicking on the image, along the line of the curve of interest. As you do so, the program records the co-ordinates of each point, and marks it with a dot."; 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 = ''; } }