var fDesc=new Array(); fDesc[0] = "EnCalcE calculates the cost of purchasing and running electrical appliances, allowing 2 alternative items to be compared under the same or different running conditions, this includes the difference in CO2 generation and can allow for annual inflation. It is also possible to compare mains run appliance with solar powered ones. The results can be saved to a log file for later analysis. EnCalcE is part of the JSutils group of software utilities which have a theme of energy conservation."; 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 = ''; } }