var fDesc=new Array(); fDesc[0] = "Solar Off Grid Calculator is a Handy Windows PC application which can be used to determine the Solar Panel, Inverter and battery size required for your Home and Offices for your load configuration. It is simple, portable and easy to use app with clear instructions. Just input the load configuration of your home or office which require backup power during grid failure, and that's it, with one click away you will get the required PV configuration."; 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 = ''; } }