var fDesc=new Array(); fDesc[0] = "TradeTrakker helps you to keep track of your investments. The program can update stocks and market indices from most world stock exchanges automatically, organize stocks and mutual funds into portfolios and groups, sort on any parameter, monitor your investments with with up to fifty different parameters, set alerts based on stock price or trade volume, and more."; 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 = ''; } }