// JavaScript to display current weather conditions var tempf="68.0"; var tempc="20.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 = "Fair"; document.getElementById("unlhumidity").childNodes[0].nodeValue = "% RH"; document.getElementById("unlwind").childNodes[0].nodeValue = "Winds northeast at 8.1 mph (7 kt)"; document.getElementById("unlweatherasof").childNodes[0].nodeValue = "as of 3:54pm"; }