var fDesc=new Array(); fDesc[0] = "Electrochemical Cells has a simple, yet powerful design which allows you to select from thousands of possible cell variations. Half cell reactions are provided, making it easy for students to understand. This versatile simulation can saves both teachers and students a significant amount of time and effort in the classroom by enabling entire series of experiments to be conducted, without the need to set up any equipment, while still providing you with realistic data results."; 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 = ''; } }