var fDesc=new Array(); fDesc[0] = "Pepperstone cAlgo is a powerful platform for creating and trading with robots and indicators developed in C#. With intuitive built in back-testing functionality, users can choose from a wide range of C# resources to help them write their own algorithms."; 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 = ''; } }