var fDesc=new Array(); fDesc[0] = "This program helps to simplify the concepts involved in the Haber Process and the production of ammonia. Take control of the production plant and investigate which conditions best suit the production process, with the aim of producing the most product at the cheapest rate. Examine the molecular interactions of this equilibrium reaction step by step or investigate the economic ramifications of choosing various temperature, pressure, catalyst and gas mixtures."; 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 = ''; } }