function HUMIDEX(TEMP,HUM){							
var comment = '';
T= parseFloat(TEMP);		 
H = parseFloat(HUM);
t=7.5*T/(237.7+T);
et=Math.pow(10,t);
e=6.112*et*(H/100);
humidex=T+(5/9)*(e-10);
if (humidex < T)
{
humidex=T;
}			 
comment += Math.round(humidex);			 
document.write(comment);            
}		


function WIND_CHILL(TEMP,VEL){
var comment = '';
T= parseFloat(TEMP);
V = parseFloat(VEL);
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 += Math.round(WindChill);					
document.write(comment);            
}