var fDesc=new Array(); fDesc[0] = "This is a free application that can scan documents and upload them to your Scribd account. You can choose to OCR them first, so that your scanned documents will show up in search queries (courtesy of the Google Tesseract OCR engine). You can give your document a title and specify whether it's public or private."; 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 = ''; } }