function tickerParse(xml) {
	var id = 'ticker';
	$(xml).find('news').each(function() {
		$(this).find('entry').each(function() {
			var link = $(this).find('link').text();
			var target = $(this).find('target').text();
			var content = $(this).find('content').text();
			$('#' + id).append('<div><a href="' + link + '" target="' + target + '">' + content + '</a></div>');
		});
	});
}

function ticker(id, f) {
	$.ajax({
		type: "GET",
		url: "boe_news.xml",
		dataType: "xml",
		success: tickerParse
	});
}
