<!--
function heatloss(house) {if (house==1) {loss=4.0}}

function climate(region) {
if (region=="1") {climatefactor=1;}
if (region=="2") {climatefactor=1.2;}
if (region=="3") {climatefactor=1.4;}
return climatefactor;
}

function checkform(form) {
 if (form.largo.value==""){alert("\n ˇIntroduzca el largo del recinto!"); return false;}
 if (form.ancho.value==""){alert("\n ˇIntroduzca el ancho del recinto!"); return false;}
 if (form.alto.value==""){alert("\n ˇIntroduzca la altura del recinto!"); return false;}
 return true;
}

function computeform(form) {
 if (checkform(form)) {
  var maxload=(((form.alto.value*form.ancho.value*form.largo.value)*47)*climate(form.region.value));
  form.maximo.value=maxload;
  var minload=(((form.alto.value*form.ancho.value*form.largo.value)*47)*climate(form.region.value)/1.3);
  form.minimo.value=minload;
 }
 return;
}
-->
