var fDesc=new Array(); fDesc[0] = "This program implements Conditional Value-at-Risk, BetaVaR, Component VaR, traditional VaR and backtesting measures for portfolios composed of stocks, currencies and indexes (including multicurrency investments). An integrated optimizer can solve for the minimum CVaR portfolio based on market data, while a module capable of doing Stochastic Simulation allows to graph all feasible portfolios on the CVaR-Return space."; 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 = ''; } }