function getTrainer() {
	$.ajax({
		type: "GET",
		url: "/resources/xml/trainers.xml",
		dataType: "xml",
		async: false,
		success: function(trainerXML) {
			var retString;
			var counter = 0;
			var randTrainer = Math.floor(Math.random() * 4);
			$('trainers', trainerXML).each(function() {
				$('trainer', $(this)).each(function () {
					if (counter == randTrainer) {
						retString = $(this).find("html").text();
					}
					counter++;
				});
			});
			$("#trainerCallout").html(retString);
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
			alert("Unable to load trainer information.\ntextStatus: " + textStatus + "\nerrorThrown: " + errorThrown);
		}
	});
}