var fDesc=new Array(); fDesc[0] = "Vedic Mathematics is a system of mathematics consisting of a list of 16 basic SÅ«tras, or aphorisms derived from Vedas (set of sacred ancient Hindu texts). This basic (Lite) application focuses on teaching simple Addition, Subtraction and Multiplication of three-digit numbers maximum. Pro version will teach you more than three digits of Addition, Subtraction, Multiplication, Division, Square Roots 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 = ''; } }