var fDesc=new Array(); fDesc[0] = "This Chrome Extension lets you create tasks while browsing a web page. It can automatically use the current web page title as the task description and add its URL to the notes. With GQueues you get two-way syncing with Google Calendar, attachments with Google Drive integration, etc."; 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 = ''; } }