var fDesc=new Array(); fDesc[0] = "This plug-in allows you to use the Tesseract OCR (Optical Character Recognition) engine in your publications, allowing you to establish various types of page segmentation's and other options to obtain the best possible result from BMP, JPG, PNG, GIF and TIFF images. You can instantiate one or more Tess objects in order to do the work, and specify several events in order to control the text recognition task process. The plug-in includes all the necessary files to distribute with your publications."; 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 = ''; } }