// JavaScript to display current weather conditions var tempf="50.0"; var tempc="10.0"; function displayUNLWeather() { document.getElementById("unlweathertempf").childNodes[0].nodeValue = tempf; document.getElementById("unlweathertempc").childNodes[0].nodeValue = "F/"+tempc+"c"; document.getElementById("unlvisibility").childNodes[0].nodeValue = "Overcast"; document.getElementById("unlhumidity").childNodes[0].nodeValue = "% RH"; document.getElementById("unlwind").childNodes[0].nodeValue = "Winds southeast at 6.9 mph (6 kt)"; document.getElementById("unlweatherasof").childNodes[0].nodeValue = "as of 7:54pm"; }