var fDesc=new Array(); fDesc[0] = "Leo Dictionary Widget is a Google Chrome extension that allows you to find definitions of words in a web page, without leaving the page. Just select a word or phrase in the web page and press the shortcut keys. The default keyboard shortcut is Alt W, but this can be changed in the plugin settings."; 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 = ''; } }