var fDesc=new Array(); fDesc[0] = "This program can translate Word files from English to Arabic or Arabic to English. It has an interface similar to other Sobolsoft applications, where you can drag-and-drop multiple Word files. It can also add all the source files in a folder that you specify. You need to enter your Google Translate API Key to use this program."; 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 = ''; } }