function updateResultsFront(referral_selection) {
	http = getHTTPObject();
	var referral_results_area = document.getElementById("referral_results");
	referral_results_area.innerHTML = "<strong>Fetching Results...</strong>";
	if (referral_selection.value != '') {
		http.onreadystatechange = function() {
			if(http.readyState == 4) { //Request finished
				var results_array = http.responseText.split("|");
				var return_html = "";
				return_html += "<table style='color:#9e9e9e;'><tr><td colspan='2' width='350' style='border-bottom: 1px #9e9e9e dashed'><strong>" + results_array[2] + "</strong></td></tr>";
				return_html += "<tr style='font-size: 10px;'>";
				
				if (results_array[13] != '') {
					return_html += "<td align='left' colspan='2' valign='top'><br /><table style='color:#9e9e9e;' border='0'>";
					return_html += "<tr><td><img hspace='5' align='left' src='pic_resize.php?width=100&height=75&thumb_location=" + results_array[13] + "' border='0' /></td>";
					return_html += "<td valign='top'>";
					return_html += "<span style='font-weight: bold; font-size: 11px;'>" + results_array[3] + "</span>";
					if (results_array[7] != '') {
						return_html += "<br/><a style='font-weight: bold; color: #b61412; text-decoration: none;' href='mailto:" + results_array[7] + "'>" + results_array[7] + "</a>";	
					}
					return_html += "</td></tr></table></td>";
					
				} else {
					return_html += "<td colspan='2'><br />";
					return_html += "<span style='font-weight: bold; font-size: 11px;'>" + results_array[3] + "</span>";
					if (results_array[7] != '') {
						return_html += " - <a style='font-weight: bold; color: #b61412; text-decoration: none;' href='mailto:" + results_array[7] + "'>" + results_array[7] + "</a>";
					}
					return_html += "</td>";
				}
				return_html += "</tr>";
				return_html +="<tr><td width='50%'><br/><span width='100%'><a style='text-decoration: none; color: #b61412; font-weight: bold;' href='referral_details.php?id=" + results_array[0]  + "'>More Info</a></span></td>";
				return_html += "<td align='right'>";
				if (results_array[12] != '') {
					return_html += "<img src='pic_resize.php?width=150&height=75&thumb_location=" + results_array[12] + "' border='0' />";
				}
				return_html += "</td>";
				return_html += "</tr></table>";
				referral_results_area.innerHTML = return_html;
			}
		}
		http.open("GET", "referral_results.php?id=" + referral_selection.value, true);
		http.send(null);
	} else {
		referral_results_area.innerHTML = "";
	}
}