function borrar(form){
form.temp_aire.value = "";
form.vel_vent.value = "";
form.resultat.value = "";
}
									
function calcular_temp_sensacio(WC1){
if(parseFloat(WC1.temp_aire.value) >= 10){
   alert("La temperatura ha de tenir un valor inferior a 10º");
}
else {			
      var comment = '';

      T= parseFloat(WC1.temp_aire.value);
      V = parseFloat(WC1.vel_vent.value);
      var WindChill =(13.12+0.6215*T-11.37*Math.pow(V,0.16)+0.3965*T*Math.pow(V,0.16));			 
      if (WindChill > T)
      {
        WindChill=T;
      }
      comment += WindChill;					
      WC1.resultat.value = Math.round(comment); 
     }								
}
