function getRSS() {
	$.ajax({
		type: "GET",
		url: "/resources/xml/feed.rss",
		dataType: "xml",
		async: false,
		success: function(rssXML) {
			var rssCounter = 0;
			var retString = "";
			$('channel', rssXML).each(function() {
				if (window.location.href.indexOf("news.php") == -1) {
					retString += '<img src="/resources/images/newsHeadline.png">';
					retString += '<ul>';
				}
				$('item', $(this)).each(function () {
					if (window.location.href.indexOf("news.php") == -1 && rssCounter < 3) {
						retString += '<li>' + $(this).find("title").text() + '<a href="/news/news.php';
						retString += $(this).find("link").text().slice($(this).find("link").text().indexOf("#"), $(this).find("link").text().length);
						retString += '">Read More</a></li>';
					}
					else if (window.location.href.indexOf("news.php") != -1 && rssCounter < 5) {
						retString += '<a name="' + $(this).find("link").text().slice($(this).find("link").text().indexOf("#") + 1, $(this).find("link").text().length) +'"></a><div class="news"><span class="newsTitle">' + $(this).find("title").text() + "</span><br />";
						retString += $(this).find("description").text() + "</div>";
					}
					rssCounter++;
				});
				if (window.location.href.indexOf("news.php") == -1) {
					retString += '</ul>';
				}
			});
			if (window.location.href.indexOf("news.php") == -1) {
				$("#rssFeed").html(retString);
			}
			else {
				retString += '<a href="/resources/xml/feed.rss">Entire Feed</a>';
				$("#rssFeedInterior").html(retString);
			}
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
			alert("textStatus: " + textStatus + "\nerrorThrown: " + errorThrown);
		}
	});
}