var fDesc=new Array(); fDesc[0] = "MEGAcmd is an interactive, text console based, scriptable MEGA client. The program intends to offer all the functionality with your MEGA account via commands. It features 2 modes of interaction: interactive (a shell to query your actions) and scriptable (a way to execute commands from a shell/a script/another program). In order to provide those 2 modes, it features one main application and several client commands. For using the interactive mode you will need to launch the main application and start writing your commands there."; 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 = ''; } }