var fDesc=new Array(); fDesc[0] = "The Apps for BitTorrent SDK is a collection of tools, libraries and documentation to make the process of creating, authoring and testing apps as easy as possible. There are a lot of tools to help make building apps easier. The apps api provides applications a method to interface with the BitTorrent client that an application has been installed within. The API allows sandboxed access to the client for tasks such as adding a torrent or an rss feed."; 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 = ''; } }