var fDesc=new Array(); fDesc[0] = "Play hockey with electric charges. Place charges on the ice, then hit start to try to get the puck in the goal. View the electric field. Trace the puck's motion. Make the game harder by placing walls in front of the goal. This is a clone of the popular simulation of the same name marketed by Physics Academic Software and written by Prof. Ruth Chabay of the Dept of Physics at North Carolina State University."; 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 = ''; } }