var fDesc=new Array(); fDesc[0] = "Portfolio Manager is a personal stock portfolio management system with the aim of being a complete stock trading diary. With minimal time and effort you can track which stocks you have bought and sold, along with any associated dividends without the need to continually update a spreadsheet. Includes information on your trading plan such as disaster stops targets, 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 = ''; } }