function designValueUpdate(value) {
	var outsideDesignLookup = {"New Jersey, Newark": ["0&deg;", "72%", "79%", "65%"], "New York, Buffalo": ["-5&deg;", "79%", "72%", "78%"], "Mississippi, Vicksburg": ["10&deg;", "82%", "65%", "67%"], "Nevada, Reno": ["-5&deg;", "82%", "67%", "54%"], "Massachusetts, Boston": ["0&deg;", "72%", "59%", "67%"], "New Hampshire, Concord": ["-15&deg;", "78%", "60%", "69%"], "Illinois, Chicago": ["-10&deg;", "81%", "70%", "75%"], "Kansas, Dodge City": ["-10&deg;", "78%", "57%", "61%"], "California, San Francisco": ["35&deg;", "84%", "69%", "70%"], "Indiana, Indianapolis": ["-10&deg;", "83%", "72%", "78%"], "Maryland, Baltimore": ["0&deg;", "72%", "68%", "56%"], "Ohio, Toledo": ["-10&deg;", "79%", "72%", "75%"], "Ohio, Cincinnati": ["0&deg;", "82%", "70%", "74%"], "Arizona, Yuma": ["30&deg;", "56%", "37%", "27%"], "Kentucky, Louisville": ["0&deg;", "78%", "68%", "69%"], "Missouri, Kansas City": ["-10&deg;", "78%", "64%", "66%"], "Missouri, St. Louis": ["0&deg;", "77%", "65%", "68%"], "Delaware, Wilmington": ["0&deg;", "77%", "62%", "70%"], "Louisiana, New Orleans": ["20&deg;", "85%", "67%", "73%"], "Vermont, Burlington": ["-10&deg;", "81%", "69%", "78%"], "Texas, El Paso": ["10&deg;", "63%", "45%", "39%"], "Michigan, Detroit": ["-10&deg;", "82%", "71%", "77%"], "California, San Diego": ["35&deg;", "76%", "58%", "60%"], "Idaho, Boise": ["-10&deg;", "82%", "75%", "74%"], "New Jersey, Trenton": ["0&deg;", "73%", "62%", "68%"], "Tennessee, Memphis": ["0&deg;", "82%", "67%", "73%"], "South Carolina, Charleston": ["15&deg;", "87%", "55%", "76%"], "Oregon, Baker": ["-5&deg;", "83%", "81%", "78%"], "New Mexico, Albuquerque": ["0&deg;", "68%", "51%", "46%"], "California, Sacramento": ["30&deg;", "90%", "82%", "70%"], "Indiana, Fort Wayne": ["-10&deg;", "84%", "75%", "81%"], "Kansas, Topeka": ["-10&deg;", "78%", "64%", "67%"], "South Dakota, Huron": ["-20&deg;", "79%", "72%", "76%"], "Arizona, Phoenix": ["25&deg;", "75%", "47%", "39%"], "Colorado, Denver": ["-10&deg;", "54%", "37%", "41%"], "Connecticut, New Haven": ["0&deg;", "75%", "65%", "69%"], "North Dakota, Bismarck": ["-30&deg;", "77%", "71%", "75%"], "Louisiana, Shreveport": ["20&deg;", "83%", "67%", "66%"], "Texas, Houston": ["20&deg;", "85%", "66%", "73%"], "Texas, Amarillo": ["-10&deg;", "71%", "51%", "52%"], "Pennsylvania, Philadelphia": ["0&deg;", "74%", "65%", "68%"], "Oregon, Portland": ["10&deg;", "87%", "82%", "78%"], "Florida, Miami": ["35&deg;", "87%", "59%", "75%"], "West Virginia, Charleston": ["0&deg;", "79%", "64%", "70%"], "Rhode Island, Providence": ["0&deg;", "73%", "60%", "67%"], "Illinois, Cairo": ["0&deg;", "81%", "69%", "--"], "Arizona, Flagstaff": ["-10&deg;", "83%", "58%", "--"], "District of Columbia, Washington": ["0&deg;", "73%", "56%", "64%"], "Utah, Salt Lake City": ["-10&deg;", "80%", "71%", "72%"], "Pennsylvania, Pittsburgh": ["0&deg;", "77%", "67%", "63%"], "California, Fresno": ["25&deg;", "93%", "80%", "66%"], "Georgia, Savannah": ["20&deg;", "83%", "58%", "72%"], "New York, New York": ["0&deg;", "72%", "61%", "66%"], "New York, Rochester": ["-5&deg;", "81%", "73%", "79%"], "North Carolina, Asheville": ["0&deg;", "82%", "59%", "69%"], "Wisconsin, Milwaukee": ["-15&deg;", "76%", "70%", "73%"], "Wisconsin, Green Bay": ["-15&deg;", "75%", "68%", "73%"], "West Virginia, Parkersburg": ["-10&deg;", "82%", "66%", "74%"], "Washington, Walla Walla": ["-5&deg;", "80%", "74%", "78%"], "Virginia, Richmond": ["15&deg;", "84%", "60%", "68%"], "Pennsylvania, Scranton": ["-5&deg;", "80%", "67%", "--"], "Ohio, Columbus": ["-10&deg;", "83%", "71%", "76%"], "California, Eureka": ["30&deg;", "87%", "--", "77%"], "Illinois, Peoria": ["-10&deg;", "73%", "72%", "77%"], "Iowa, Davenport": ["-15&deg;", "--", "--", "--"], "Georgia, Augusta": ["10&deg;", "84%", "59%", "69%"], "Idaho, Lewiston": ["-5&deg;", "79%", "73%", "71%"], "Arkansas, Little Rock": ["5&deg;", "80%", "67%", "68%"], "Michigan, Grand Rapids": ["-10&deg;", "85%", "78%", "80%"], "Colorado, Pueblo": ["-20&deg;", "67%", "44%", "48%"], "Florida, Jacksonville": ["25&deg;", "89%", "56%", "75%"], "Iowa, Sioux City": ["-20&deg;", "78%", "67%", "72%"], "Colorado, Grand Junction": ["-15&deg;", "77%", "64%", "64%"], "Alabama, Mobile": ["10&deg;", "--", "--", "--"], "Georgia, Atlanta": ["10&deg;", "80%", "64%", "69%"], "Wyoming, Cheyenne": ["-15&deg;", "59%", "48%", "55%"], "Tennessee, Knoxville": ["0&deg;", "83%", "65%", "69%"], "Ohio, Cleveland": ["0&deg;", "81%", "72%", "79%"], "Minnesota, Deluth": ["-25&deg;", "78%", "74%", "74%"], "Alabama, Birmingham": ["10&deg;", "81%", "61%", "66%"], "Nebraska, Omaha": ["-10&deg;", "82%", "68%", "73%"], "Nebraska, North Platte": ["-20&deg;", "80%", "62%", "66%"], "Montana, Butte": ["-20&deg;", "76%", "70%", "71%"], "Pennsylvania, Harrisburg": ["0&deg;", "72%", "49%", "65%"], "North Carolina, Raleigh": ["10&deg;", "82%", "57%", "69%"], "Montana, Billings": ["-25&deg;", "67%", "73%", "60%"], "Texas, Corpus Christi": ["20&deg;", "88%", "66%", "75%"], "South Dakota, Rapid City": ["-20&deg;", "71%", "69%", "67%"], "South Carolina, Columbia": ["10&deg;", "81%", "57%", "65%"], "Indiana, Terre Haute": ["0&deg;", "82%", "70%", "76%"], "Minnesota, Minneapolis": ["-20&deg;", "82%", "72%", "75%"], "New York, Albany": ["-10&deg;", "75%", "63%", "71%"], "Washington, Seattle": ["15&deg;", "86%", "80%", "74%"], "Oklahoma, Oklahoma City": ["0&deg;", "79%", "62%", "65%"], "New Jersey, Atlantic City": ["5&deg;", "79%", "68%", "74%"], "Texas, San Antonio": ["20&deg;", "82%", "60%", "59%"], "Texas, Dallas": ["10&deg;", "81%", "62%", "62%"], "Maine, Portland": ["-5&deg;", "81%", "65%", "74%"], "California, Los Angeles": ["35&deg;", "63%", "46%", "51%"]}
	document.getElementById('humidity_location_outside_temp').innerHTML = outsideDesignLookup[value][0];
	document.getElementById('humidity_rh_morning').innerHTML = outsideDesignLookup[value][1];
	document.getElementById('humidity_rh_afternoon').innerHTML = outsideDesignLookup[value][2];
	document.getElementById('humidity_rh_evening').innerHTML = outsideDesignLookup[value][3];	
}
function genHumidCalcs(){
	var FG = {
		"-10" 	: 0.29,
		"-5" 	: 0.35,
		"0"		: 0.48,
		"5" 	: 0.61,
		"10"	: 0.78,
		"15" 	: 0.99,
		"20"	: 1.24,
		"25"	: 1.56,
		"30"	: 1.95,
		"31"	: 2.04,
		"32" 	: 2.13,
		"34"	: 2.29,
		"35"	: 2.38,
		"36"	: 2.47,
		"37"	: 2.56,
		"38"	: 2.66,
		"39"	: 2.76,
		"40"	: 2.86,
		"41"	: 2.97,
		"42"	: 3.08,
		"43"	: 3.2,
		"44"	: 3.32,
		"45"	: 3.44,
		"46"	: 3.56,
		"47"	: 3.69,
		"63"	: 6.41,
		"64"	: 6.62,
		"65"	: 6.85,
		"66"	: 7.07,
		"67"	: 7.31,
		"68"	: 7.57,
		"69"	: 7.8,
		"70"	: 8.1,
		"71"	: 8.32,
		"72"	: 8.59,
		"73"	: 8.87,
		"74"	: 9.15,
		"75"	: 9.45,
		"76"	: 9.75,
		"77"	: 10.06,
		"78"	: 10.4,
		"79"	: 10.8,
		"80"	: 11.04,
		"81"	: 11.4,
		"82"	: 11.75,
		"83"	: 12.11,
		"84"	: 12.49,
		"85"	: 12.87,
		"86"	: 13.27,
		"87"	: 13.67,
		"88"	: 14.08,
		"89"	: 14.51,
		"90"	: 14.94,
		"91"	: 15.39,
		"92"	: 15.84,
		"93"	: 16.31,
		"94"	: 16.79,
		"95"	: 17.28,
		"96"	: 17.8,
		"97"	: 18.31,
		"98"	: 18.85,
		"99"	: 19.39,
		"100"	: 19.95,
		"101"	: 20.52,
		"102"	: 21.11,
		"103"	: 21.71,
		"104"	: 22.32,
		"105"	: 22.95,
		"106"	: 23.6,
		"107"	: 24.26,
		"108"	: 24.93,
		"109"	: 25.62,
		"110"	: 26.34,
		"111"	: 27.07,
		"112"	: 27.81,
		"113"	: 28.57,
		"114"	: 29.34,
		"115"	: 30.13,
		"120"	: 34.38,
		"125"	: 39.13,
		"130"	: 44.41,
		"135"	: 50.3,
		"140"	: 56.81,
		"145"	: 64.04,
		"150"	: 72,
		"155"	: 80.77,
		"160"	: 90.43,
		"165"	: 101,
		"170"	: 112.6,
		"175"	: 125.4,
		"180"	: 139.2,
		"185"	: 154.3,
		"190"	: 171.11,
		"195"	: 188.9,
		"200"	: 208.25
	};
	
	var ODF = document.getElementById('humidity_outside_temperature').value;
	var ODRH = document.getElementById('humidity_outside_relative_humidity').value/100;
	var IDT = document.getElementById('humidity_inside_temperature').value;
	var IDRH = document.getElementById('humidity_inside_relative_humidity').value/100;
	
	var TCSF = document.getElementById('humidity_square_footage').value;
	var ACH = document.getElementById('humidity_ceiling_height').value;
	var ACPH = document.getElementById('humidity_air_changes').value;
	var NCF = document.getElementById('humidity_number_of_fireplaces').value;
	
	var HRL = 0;
	
	HRL = ((((TCSF * ACH) * ACPH) * ((FG[IDT]*IDRH)-(FG[ODF]*ODRH)))/7000) * (1 + (NCF * 0.05));
	document.getElementById('humidity_results_load').innerHTML = Math.round(HRL*100)/100;
	document.getElementById('humidity_results_gpd').innerHTML = Math.round(HRL * 2.88 * 100)/100;
}
