// JavaScript Document
function temp(form)
{
  var Energy = parseFloat(form.KWHM.value);
  var Percentage = parseFloat(form.PercentageSolar.value);
  var SunHours = parseFloat(form.PeakSunHours.value);
  var SystemRaw=0;
  var System = 0;
  var FirstStep=0
  FirstStep=((Energy*1000)*(.01*Percentage))/30;
  SystemRaw = (FirstStep/SunHours);
  System=parseInt(SystemRaw);
  form.SystemSize.value = System;
}