var fDesc=new Array(); fDesc[0] = "This is an application designed for all your literary needs. This application widget doesn't work on Opera mobile/mini. The main claimed advantage of widgets is that they are meant to be platform-independent. Dictionary closes if you hit the enter key. We have to click on the go button using the mouse for the definitions to be displayed."; 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 = ''; } }