var fDesc=new Array(); fDesc[0] = "WinAPEX is a farm (small watershed) production-risk management model designed to help agricultural practitioners optimize crop management and maximize production and profit. It can identify limitations to crop yield, and find the best management practices that minimize the impact of agriculture on soil erosion and water quality at the farm and field level."; 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 = ''; } }