var fDesc=new Array(); fDesc[0] = "EnCalcEU calculates the cost of electricity, allowing both the real cost based on meter readings and forward prediction based on the readings and elapsed time. The results can be saved to a log file for later analysis. The program can cope with different charging rates for electricity at different times of the day, alternative rates based on fixed or daily thresholds, varying tax rates plus fixed charges and discounts enabling most charging models to be handled. It will also calculate the cost and units for each rate of electricity used plus the amount of CO2 generated."; 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 = ''; } }