var fDesc=new Array(); fDesc[0] = "This software offers a solution for users who want to translate English to German and vice versa. Text can be loaded from a file and the translation pair (German to Arabic or German to English) is chosen from the drop down menu. The results are displayed in the lower pane and can be copied to the clipboard for pasting. This software uses Google Translate as the backbone for translations and requires a Google Translate API key. Instructions for obtaining a key are found within the software."; 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 = ''; } }