var fDesc=new Array(); fDesc[0] = "This program develop ten real-world applications of physics and math for kids aged 9 to 17. The applications are: LEVERS, PENDULUM (studies basic oscillations ), WATER WHEEL, MOON LANDER, WEATHER WATCH, CIRCUITS, ROBOTICS, TRAJECTORIES (simulation of a flying object ), ROCKETRY, PROBABILITY ( introduces an exciting field of mathematics with problems )."; 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 = ''; } }