function makeAjaxCall(type) {
	ajax = new XMLHttpRequest();
	if (ajax) {
		ajax.open('GET', '/components/quickQuoteSelects.cfm?type=' + type.toLowerCase(), true);
		ajax.send(null);
		ajax.onreadystatechange = function() { 
			if (ajax.readyState == 4) {  // If the request is finished 
				if (ajax.status == 200)  // If it was successful 
					changeTheSelect(ajax.responseText);
		   }
		}
	}
}

function changeTheSelect(ajax) {
	document.getElementById('courseSelect').innerHTML = ajax;
}